diff options
| author | nathan <nathansmith@disroot.org> | 2026-01-11 13:13:36 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2026-01-11 13:13:36 +0000 |
| commit | e853966be38ae6c5319df137c3b04a86e52b562b (patch) | |
| tree | 76a7b271ac1795098ebb8d797a523fbcbfc54080 /src/world.h | |
| parent | 013ac4a2f4ae24d71f425f31edd77a8e29ed1da8 (diff) | |
| download | FindThings-e853966be38ae6c5319df137c3b04a86e52b562b.tar.gz FindThings-e853966be38ae6c5319df137c3b04a86e52b562b.tar.bz2 FindThings-e853966be38ae6c5319df137c3b04a86e52b562b.zip | |
Diffstat (limited to 'src/world.h')
| -rw-r--r-- | src/world.h | 4 |
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 |
