aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/world.h b/src/world.h
index 2b51485..d714b29 100644
--- a/src/world.h
+++ b/src/world.h
@@ -91,7 +91,11 @@ void freeWorld(World 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);
+
+// "allowAll" allows non-selectable entities.
WorldUID castRayAtWorld(const World* world, Ray ray, bool allowAll,
int* tests);
+WorldUID checkBoxCollisionWithWorld(const World* world, BoundingBox box,
+ bool allowAll);
#endif