asge::spatial::QuadNode
#include <QuadTree.hpp>Collaboration
classDiagram
class N2["asge::math::Rect"]
class N3["asge::spatial::QuadBlockHeader"]
class N1["asge::spatial::QuadNode"]
N3 --> N3 : m_Next
N1 --> N2 : m_Bounds
N1 --> N3 : m_Head
click N2 href "structasge_1_1math_1_1Rect.html"
click N3 href "structasge_1_1spatial_1_1QuadBlockHeader.html"
click N1 href "structasge_1_1spatial_1_1QuadNode.html"
Static Public Attributes
#
static constexpr std::uint16_t s_MaxNofElements = 16#
static constexpr std::uint16_t s_MaxDepth = 10Public Attributes
#
math::Rect m_Bounds#
QuadBlockHeader * m_Head { nullptr }#
QuadBlockHeader * m_Tail { nullptr }#
std::uint32_t m_Count { 0 }#
std::uint16_t m_Depth { 0 }Public Member Functions
#
QuadNode(math::Rect const &inBounds, std::uint16_t inDepth=0)#
QuadNode(QuadNode const &)=delete#
bool IsLeaf() const noexceptTrue if the node has not been subdivided into children.