aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
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