summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.h
diff options
context:
space:
mode:
authorSimon 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)
commitf8766201a688598633e41166225d5e77275a2d5a (patch)
treee90eaf8bf33373596fc39d1eee08fe8ee708be5e /src/simulation/Simulation.h
parent76070f99e0e9e4817f17dc55489756276b7b58c3 (diff)
downloadpowder-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.h4
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];