From 3606c84655eb2bfac76933bc15b68e954e9b3034 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 28 Nov 2024 20:04:59 +0100 Subject: checkin --- src/scenery.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/scenery.c') 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; -- cgit v1.2.3-70-g09d2