#include <CeresEngine/Scene/Terrain/TerrainStorage.hpp>
|
| void | insert (Node *node, Vector3 position, T &&value, AABox aabb, double resolution) |
| |
| template<typename Primitive > |
| void | insert (Node *node, const Primitive &primitive, const T &value, const AABox &aabb, double resolution) |
| |
| void | subdivide (Node *node) |
| |
| void | subdivide (Node *node, size_t octant) |
| |
| bool | shouldCollapse (Node *const node, const T &firstValue) |
| |
| Node * | findOrCreateNode (Node *node, Vector2 position, T value, const UInt64 depth, const UInt64 maxDepth) |
| |
| void * | nodeAt (size_t index) |
| |
◆ Ptr
◆ MemoryMappedTerrainOctree()
◆ ~MemoryMappedTerrainOctree()
◆ allocateNode()
◆ findOrCreateNode()
◆ getOctantFor()
Computes the octant of a position vector within the given aabb.
- Parameters
-
| position | The position to compute the octant |
| aabb | The aabb to contain the position to |
- Returns
- The octant index [0-7]
◆ insert() [1/5]
◆ insert() [2/5]
◆ insert() [3/5]
◆ insert() [4/5]
◆ insert() [5/5]
◆ nodeAt()
◆ octantDelta()
Computes the delta position for a given octant.
- Parameters
-
| octant | The octant index [0-7] |
- Returns
- A vector to offset a AABB by to match the given octant
◆ reserve()
◆ shouldCollapse()
◆ subdivide() [1/2]
◆ subdivide() [2/2]
◆ mHeader
◆ mSharedMemory
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Scene/Terrain/TerrainStorage.hpp