From 1163519c148d0cc7d885630995874af2747419d0 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 30 Jul 2025 03:37:32 -0600 Subject: More pond stuff --- src/world.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/world.h') diff --git a/src/world.h b/src/world.h index 6060b90..149e7dd 100644 --- a/src/world.h +++ b/src/world.h @@ -60,7 +60,9 @@ void updateWorld(World* world, Game* game); void freeWorld(World world); // Dam, I wanta live in a free world ): +// When dealing with the world in 2d use y in place of z. float getWorldHeightAtLocation(const World* world, float x, float y); +Vector2 worldPositionToPixel(const World* world, float x, float y); WorldUID castRayAtWorld(const World* world, Ray ray, int* tests); #endif -- cgit v1.2.3