|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <UIHitTestSystem.hpp>
Public Attributes | |
| glm::vec3 | origin {0.0f, 0.0f, 0.0f} |
| glm::vec3 | dir {0.0f, 0.0f, -1.0f} |
A pointer, as the ray it is rather than a point on one plane. Orthographically every plane the ray crosses gives the same x/y, so the flat case is this one's degenerate form; under perspective they differ, and a point cannot serve.
Definition at line 59 of file UIHitTestSystem.hpp.
| glm::vec3 esengine::ecs::PickRay::dir {0.0f, 0.0f, -1.0f} |
Definition at line 61 of file UIHitTestSystem.hpp.
Referenced by esengine::ecs::rayHitsOBB(), and esengine::ecs::rayHitsPlaneZ().
| glm::vec3 esengine::ecs::PickRay::origin {0.0f, 0.0f, 0.0f} |
Definition at line 60 of file UIHitTestSystem.hpp.
Referenced by esengine::ecs::rayHitsOBB(), and esengine::ecs::rayHitsPlaneZ().