diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 18:32:36 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 18:32:36 (GMT) |
| commit | f8766201a688598633e41166225d5e77275a2d5a (patch) | |
| tree | e90eaf8bf33373596fc39d1eee08fe8ee708be5e /src/simulation/Simulation.h | |
| parent | 76070f99e0e9e4817f17dc55489756276b7b58c3 (diff) | |
| download | powder-f8766201a688598633e41166225d5e77275a2d5a.zip powder-f8766201a688598633e41166225d5e77275a2d5a.tar.gz | |
TPT: Optimization for GoL, Added brush size and mouse wheel to lua! e7035233fd
Diffstat (limited to 'src/simulation/Simulation.h')
| -rw-r--r-- | src/simulation/Simulation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/Simulation.h b/src/simulation/Simulation.h index 60a010c..7095c66 100644 --- a/src/simulation/Simulation.h +++ b/src/simulation/Simulation.h @@ -77,8 +77,8 @@ public: int CGOL; int ISGOL; int GSPEED; - unsigned char gol[XRES][YRES]; - unsigned char gol2[XRES][YRES][NGOL+1]; + unsigned char gol[YRES][XRES]; + unsigned char gol2[YRES][XRES][NGOL+1]; //Air sim float (*vx)[XRES/CELL]; float (*vy)[XRES/CELL]; |
