diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-09 15:32:12 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-09 15:32:12 -0500 |
commit | 9ca2a24de737b18d681a016557e4a037751e32bf (patch) | |
tree | 04b06760c4d699b3be0b3ed9efb23cf2e3efdb11 /sim.hpp | |
parent | 13e81cdeb7994ebf062729d7e8407d22e401d459 (diff) |
set rotate speed in editor
Diffstat (limited to 'sim.hpp')
-rw-r--r-- | sim.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -132,13 +132,13 @@ typedef struct { float angle; bool moves; // does this platform move? + bool rotates; // does this platform rotate? // if it's a moving platform float move_speed; v2 move_p1; v2 move_p2; - float rotate_speed; u32 color; @@ -163,6 +163,7 @@ typedef struct { float win_width, win_height; // width,height of window in pixels v2 mouse_pos; // mouse position in Box2D (not GL) coordinates + bool shift, ctrl; // is either shift/ctrl key down? float dt; // time in seconds since last frame |