diff options
| author | iamcheeseman <[hidden email]> | 2026-01-15 16:17:16 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-15 16:17:16 -0500 |
| commit | 86738d3406671046ce50a2d1b07d858e14b2f968 (patch) | |
| tree | 3261e9fb85d7a438a6d5e37df447e209e3b26532 /src/input.odin | |
| parent | 4563dfa077e029fbefd192f087338d186155ebfc (diff) | |
Ensure upwards and downwards transitions work
Diffstat (limited to 'src/input.odin')
| -rw-r--r-- | src/input.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input.odin b/src/input.odin index 1513c33..7ba2884 100644 --- a/src/input.odin +++ b/src/input.odin @@ -59,5 +59,6 @@ get_mouse_pos :: proc() -> (mouse_pos: Vec2) { mouse_pos = Vec2{f32(rl.GetMouseX()), f32(rl.GetMouseY())} mouse_pos /= Vec2{f32(rl.GetScreenWidth()), f32(rl.GetScreenHeight())} mouse_pos *= SCREEN_SIZE + mouse_pos += state.camera.target return } |
