Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Classes | |
class | AABBTreeNode |
class | AABBTree |
Macros | |
#define | IMPLEMENT_TREE(base_class, volume) |
TO BE DOCUMENTED. More... | |
#define | __OPC_AABBTREE_H__ |
#define | IMPLEMENT_TREE(base_class, volume) |
Typedefs | |
typedef void(* | CullingCallback )(udword nb_primitives, udword *node_primitives, BOOL need_clipping, void *user_data) |
typedef bool(* | WalkingCallback )(const AABBTreeNode *current, udword depth, void *user_data) |
Functions | |
inline_ const volume *Get inline_ const base_class * | GetPos () const |
inline_ const base_class * | GetNeg () const |
inline_ bool | IsLeaf () const |
inline_ udword | GetNodeSize () const |
Variables | |
volume | mBV |
uintptr_t | mPos |
uintptr_t | mNeg |
#define IMPLEMENT_TREE | ( | base_class, | |
volume | |||
) |
#define IMPLEMENT_TREE | ( | base_class, | |
volume | |||
) |
typedef void(* CullingCallback)(udword nb_primitives, udword *node_primitives, BOOL need_clipping, void *user_data) |
Definition at line 76 of file OPC_AABBTree.h.
typedef bool(* WalkingCallback)(const AABBTreeNode *current, udword depth, void *user_data) |
User-callback, called for each node by the walking code.
current | [in] current node |
depth | [in] current node's depth |
user_data | [in] user-defined data |
Definition at line 106 of file OPC_AABBTree.h.
inline_ const base_class* GetNeg | ( | ) | const |
volume mBV |
Definition at line 71 of file OPC_AABBTree.h.
uintptr_t mNeg |
Definition at line 73 of file OPC_AABBTree.h.
Referenced by GetNeg().
uintptr_t mPos |
Definition at line 72 of file OPC_AABBTree.h.
Referenced by GetPos().