Fix overlapping particles

This commit is contained in:
jacksonmj
2011-05-10 20:30:47 +01:00
committed by Simon Robertshaw
parent 882a839205
commit 26dbf70709
2 changed files with 60 additions and 85 deletions

View File

@@ -848,6 +848,7 @@ unsigned cb_pmap[YRES][XRES];
unsigned photons[YRES][XRES];
int do_move(int i, int x, int y, float nxf, float nyf);
int try_move(int i, int x, int y, int nx, int ny);
int eval_move(int pt, int nx, int ny, unsigned *rr);