From e853966be38ae6c5319df137c3b04a86e52b562b Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 11 Jan 2026 06:13:36 -0700 Subject: More inventory things --- src/world.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/world.h') 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 -- cgit v1.2.3