Small speed improvement to eval_move

Warning: may be buggy, test thoroughly.
This commit is contained in:
jacksonmj
2011-05-28 23:15:29 +01:00
committed by Simon Robertshaw
parent 5e414e64dc
commit f603e33e74
3 changed files with 108 additions and 74 deletions

View File

@@ -862,6 +862,7 @@ 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);
void init_can_move();
static void create_cherenkov_photon(int pp);
static void create_gain_photon(int pp);