|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
An eye as a hierarchy measures from it. More...
#include <ClusterSelection.hpp>
Public Attributes | |
| glm::vec3 | position {0.0f} |
| f32 | scale = 1.0f |
| f32 | threshold = 1.0f |
| bool | flat = false |
| An orthographic view: an error is the same size at every distance. | |
An eye as a hierarchy measures from it.
In the mesh's own space, so a cluster's bounds are read as stored. scale is the size on screen of one mesh unit at one mesh unit from the eye (under an orthographic view, of one mesh unit anywhere), in whatever unit threshold is in: pixels, for a threshold of one pixel.
Definition at line 62 of file ClusterSelection.hpp.
| bool esengine::lod::ClusterEye::flat = false |
An orthographic view: an error is the same size at every distance.
Definition at line 67 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterErrorOnScreen().
| glm::vec3 esengine::lod::ClusterEye::position {0.0f} |
Definition at line 63 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterErrorOnScreen().
| f32 esengine::lod::ClusterEye::scale = 1.0f |
Definition at line 64 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterErrorOnScreen().
| f32 esengine::lod::ClusterEye::threshold = 1.0f |
Definition at line 65 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterDrawn().