|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Functions | |
| f32 | radius (const glm::vec3 &lo, const glm::vec3 &hi, f32 displacement) |
| f32 | stretchSquared (const f32 *rows) |
| void | transformedBox (const glm::mat3 &parent, const f32 *rows, const glm::vec3 &origin, const glm::vec3 &localCentre, const glm::vec3 &localHalf, glm::vec3 ¢re, glm::vec3 &half) |
|
inline |
Radius about the placement origin, including the material's local displacement.
Definition at line 17 of file PlacementBounds.hpp.
Referenced by esengine::MeshPlugin::collect().
Squared stretch bound for the linear part of a row-major 3x4 placement.
Definition at line 22 of file PlacementBounds.hpp.
Referenced by esengine::meshInstances_set().
|
inline |
Transforms a local box through the complete placement and parent linear transforms.
Definition at line 35 of file PlacementBounds.hpp.