|
group2 0.1.0
CSE 125 Group 2
|
Wall, climb, and ledge detection via sphere casts. More...
Go to the source code of this file.
Classes | |
| struct | physics::WallDetectionResult |
| Results of wall detection sphere casts. More... | |
Namespaces | |
| namespace | physics |
| Pure physics math — no ECS types, no registry. | |
Functions | |
| WallDetectionResult | physics::detectWalls (glm::vec3 pos, float yaw, glm::vec3 halfExtents, const WorldGeometry &world, float checkDist, float sphereRadius, glm::vec3 prevWallNormal=glm::vec3(0.0f)) |
| Detect walls to the left, right, and front of the player via sphere casts. | |
| bool | physics::isWallNormal (glm::vec3 normal) |
| Check if a surface normal represents a wall (not floor/ceiling). | |
Wall, climb, and ledge detection via sphere casts.