|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Pure geometric helpers used by UISystem hit-test. More...
#include "../ecs/Registry.hpp"#include "../ecs/components/Transform.hpp"#include "../ecs/components/Hierarchy.hpp"#include "../ecs/components/UINode.hpp"#include "../ecs/components/UIMask.hpp"#include "../ecs/FlatGeometry.hpp"#include <algorithm>#include <cmath>#include <limits>

Go to the source code of this file.
Classes | |
| struct | esengine::ecs::PickRay |
Namespaces | |
| namespace | esengine |
| namespace | esengine::ecs |
Functions | |
| f32 | esengine::ecs::quaternionToAngle2D (f32 rz, f32 rw) |
| bool | esengine::ecs::pointInOBB (f32 px, f32 py, f32 worldX, f32 worldY, f32 worldW, f32 worldH, f32 pivotX, f32 pivotY, f32 rotationZ, f32 rotationW) |
| bool | esengine::ecs::rayHitsPlaneZ (const PickRay &ray, f32 planeZ, f32 &outX, f32 &outY, f32 &outT) |
| bool | esengine::ecs::rayHitsOBB (const PickRay &ray, const glm::vec3 ¢re, const glm::quat &rotation, const glm::vec3 &scale, const glm::vec3 &localMin, const glm::vec3 &localMax, f32 &outT) |
| bool | esengine::ecs::pointInTransformedBox (Registry ®istry, Entity entity, Transform &transform, f32 px, f32 py, f32 width, f32 height, f32 pivotX, f32 pivotY) |
| bool | esengine::ecs::isClippedByMask (Registry ®istry, Entity entity, f32 worldMouseX, f32 worldMouseY) |
Pure geometric helpers used by UISystem hit-test.
State and update entry point moved to UISystem (UISystem.hpp). This header only exposes the reusable inline math helpers.
Definition in file UIHitTestSystem.hpp.