mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 19:34:01 +02:00
Small speed improvement to eval_move
Warning: may be buggy, test thoroughly.
This commit is contained in:
committed by
Simon Robertshaw
parent
5e414e64dc
commit
f603e33e74
@@ -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);
|
||||
|
Reference in New Issue
Block a user