diff options
| author | jacob1 <jfu614@gmail.com> | 2013-03-13 19:56:40 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-03-13 19:56:40 (GMT) |
| commit | 10e104f3f51ed7de80419e2eba0fbbad457aa528 (patch) | |
| tree | 1f3aa5d2f960e2eeb8c0dcb5fcb75d2e4ba7b70a /src/simulation/Elements.h | |
| parent | e493cf8a475baf2032f879b4c37a6b1ac1b51b54 (diff) | |
| download | powder-10e104f3f51ed7de80419e2eba0fbbad457aa528.zip powder-10e104f3f51ed7de80419e2eba0fbbad457aa528.tar.gz | |
change BOUNDS_CHECK define to just be true, it isn't needed since an element can never update when it's closer than 3 pixels away from the edges of a save.
Diffstat (limited to 'src/simulation/Elements.h')
| -rw-r--r-- | src/simulation/Elements.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Elements.h b/src/simulation/Elements.h index 73a7079..cb13216 100644 --- a/src/simulation/Elements.h +++ b/src/simulation/Elements.h @@ -46,7 +46,7 @@ #define GRAPHICS_FUNC_ARGS Renderer * ren, Particle *cpart, int nx, int ny, int *pixel_mode, int* cola, int *colr, int *colg, int *colb, int *firea, int *firer, int *fireg, int *fireb #define GRAPHICS_FUNC_SUBCALL_ARGS ren, cpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb -#define BOUNDS_CHECK x+rx>=0 && y+ry>0 && x+rx<XRES && y+ry<YRES +#define BOUNDS_CHECK true #define SPC_AIR 236 #define SPC_HEAT 237 |
