"L. Spiro Engine"
|
An object that can be fit into a quad-tree must inherit from this. More...
#include <LSPQuadTreeObject.h>
Public Member Functions | |
LSVOID LSE_CALL | SetQuadTreeNode (CQuadTreeNode *_pqtnNode) |
virtual const CAabb2d &LSE_CALL | QuadTreeAabb () const =0 |
LSE_INLINE const CQuadTreeNode *LSE_CALL | QuadTreeNode () const |
Protected Attributes | |
CQuadTreeNode * | m_pqtnNode |
An object that can be fit into a quad-tree must inherit from this.
Class CQuadTreeObject Description: An object that can be fit into a quad-tree must inherit from this.
virtual const CAabb2d& LSE_CALL lsp::CQuadTreeObject::QuadTreeAabb | ( | ) | const [pure virtual] |
Must be overloaded to return a constant reference to a 2D AABB.
LSE_INLINE const CQuadTreeNode *LSE_CALL lsp::CQuadTreeObject::QuadTreeNode | ( | ) | const |
Gets the quad-tree node into which this object is inserted.
LSVOID LSE_CALL lsp::CQuadTreeObject::SetQuadTreeNode | ( | CQuadTreeNode * | _pqtnNode | ) |
Sets the quad-tree node into which this object has been inserted.
_pqtnNode | The node into which this object has been inserted. |
CQuadTreeNode* lsp::CQuadTreeObject::m_pqtnNode [protected] |
The node to which this object has been added.