diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-11-28 20:04:59 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-11-28 20:04:59 +0100 |
| commit | 3606c84655eb2bfac76933bc15b68e954e9b3034 (patch) | |
| tree | 409e60d8d21120b3dcc8eb354eef4a4bfa6d0dc0 /src/scenery.c | |
| parent | 48dcb969a6e7e71bdda8a1438be1e6c96ab28e4e (diff) | |
checkin
Diffstat (limited to 'src/scenery.c')
| -rw-r--r-- | src/scenery.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/scenery.c b/src/scenery.c index bf8afe6..aca9dfe 100644 --- a/src/scenery.c +++ b/src/scenery.c @@ -1,4 +1,5 @@ +vec2f px_to_coords(platform_window* window, double x, double y);
static void update_render_path(world* world, boat_route *route)
{
@@ -43,6 +44,13 @@ void update_render_scenery(world* world) { }
renderer->render_reset_scissor();
+#if 0
+ if (is_left_clicked()) {
+ vec2f coords = px_to_coords(main_window, _global_mouse.x, _global_mouse.y);
+ printf("Location: %f %f\n", coords.y, coords.x);
+ }
+#endif
+
#if 0
static s32 count = 0;
|
