|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
One cluster: its run of the hierarchy's indices, its own bounds and its group's. More...
#include <ClusterSelection.hpp>
Public Attributes | |
| u32 | firstIndex = 0 |
| u32 | indexCount = 0 |
| f32 | centre [3] {} |
| f32 | radius = 0.0f |
| f32 | error = 0.0f |
| f32 | groupCentre [3] {} |
| f32 | groupRadius = 0.0f |
| f32 | groupError = 0.0f |
One cluster: its run of the hierarchy's indices, its own bounds and its group's.
The layout an .esmesh stores and the asset layer hands over: 48 bytes, two u32 and ten f32. A cluster nothing replaces has an infinite groupError.
Definition at line 32 of file ClusterSelection.hpp.
| f32 esengine::lod::Cluster::centre[3] {} |
Definition at line 35 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterDrawn().
| f32 esengine::lod::Cluster::error = 0.0f |
Definition at line 37 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterDrawn(), and esengine::lod::clusterHierarchyValid().
| u32 esengine::lod::Cluster::firstIndex = 0 |
Definition at line 33 of file ClusterSelection.hpp.
Referenced by esengine::lod::assembleCut(), and esengine::lod::clusterHierarchyValid().
| f32 esengine::lod::Cluster::groupCentre[3] {} |
Definition at line 38 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterDrawn().
| f32 esengine::lod::Cluster::groupError = 0.0f |
Definition at line 40 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterDrawn(), and esengine::lod::clusterHierarchyValid().
| f32 esengine::lod::Cluster::groupRadius = 0.0f |
Definition at line 39 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterDrawn().
| u32 esengine::lod::Cluster::indexCount = 0 |
Definition at line 34 of file ClusterSelection.hpp.
Referenced by esengine::lod::assembleCut(), esengine::lod::clusterHierarchyValid(), and esengine::lod::selectClusters().
| f32 esengine::lod::Cluster::radius = 0.0f |
Definition at line 36 of file ClusterSelection.hpp.
Referenced by esengine::lod::clusterDrawn().