aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authornathan <nathan@disroot.org>2025-07-30 09:37:32 +0000
committernathan <nathan@disroot.org>2025-07-30 09:37:32 +0000
commit1163519c148d0cc7d885630995874af2747419d0 (patch)
tree95398d5f19e774377236af351d4e3936371fb2cd /src/world.h
parent384fa265c8493aff5f37921cf98034bb847915a2 (diff)
downloadFindThings-1163519c148d0cc7d885630995874af2747419d0.tar.gz
FindThings-1163519c148d0cc7d885630995874af2747419d0.tar.bz2
FindThings-1163519c148d0cc7d885630995874af2747419d0.zip
More pond stuff
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h2
1 files changed, 2 insertions, 0 deletions
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