summaryrefslogtreecommitdiff
path: root/sim.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sim.hpp')
-rw-r--r--sim.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim.hpp b/sim.hpp
index d232171..0f4dbd7 100644
--- a/sim.hpp
+++ b/sim.hpp
@@ -167,7 +167,8 @@ typedef struct {
b2World *world;
Ball ball;
- float bottom_y; // if y goes below here, it's over
+ float bottom_y; // y-position of "floor" (if y goes below here, it's over)
+ float left_x; // y-position of left wall
Font font;