#include <occupancyquadtree.h>
◆ OccupancyQuadTree()
| Util::OccupancyQuadTree::OccupancyQuadTree |
( |
| ) |
|
|
inline |
◆ ~OccupancyQuadTree()
| Util::OccupancyQuadTree::~OccupancyQuadTree |
( |
| ) |
|
|
inline |
◆ Allocate()
allocate a region, return region
◆ Clear()
| void Util::OccupancyQuadTree::Clear |
( |
| ) |
|
|
inline |
◆ Deallocate()
| bool Util::OccupancyQuadTree::Deallocate |
( |
const Math::uint2 | coord, |
|
|
uint | size ) |
|
inline |
◆ GetTopLevelNodes()
◆ IsOccupied()
| bool Util::OccupancyQuadTree::IsOccupied |
( |
const Math::uint2 | coord, |
|
|
uint | size ) |
|
inline |
check if region is alloced
◆ RecursiveAllocate()
recursively traverse tree to allocate node from tree
◆ RecursiveDeallocate()
| bool Util::OccupancyQuadTree::RecursiveDeallocate |
( |
Node * | node, |
|
|
Math::uint2 | coord, |
|
|
uint | size ) |
|
inlineprivate |
recursively traverse tree and deallocate
◆ RecursiveSearch()
recursively traverse tree and find if allocated
◆ Setup()
| void Util::OccupancyQuadTree::Setup |
( |
uint | textureSize, |
|
|
uint | maxSize, |
|
|
uint | minSize ) |
|
inline |
setup with a world size and a biggest allocation size
◆ allocator
◆ minSize
| uint Util::OccupancyQuadTree::minSize |
|
private |
◆ topLevelNodes
The documentation for this class was generated from the following file: