#include <Opcode.h>
Definition at line 148 of file Opcode.h.
◆ AABBOptimizedTree()
Opcode::AABBOptimizedTree::AABBOptimizedTree |
( |
| ) |
|
|
inline |
◆ ~AABBOptimizedTree()
virtual Opcode::AABBOptimizedTree::~AABBOptimizedTree |
( |
| ) |
|
|
inlinevirtual |
◆ Build()
virtual bool Opcode::AABBOptimizedTree::Build |
( |
AABBTree * |
tree | ) |
|
|
pure virtual |
Builds the collision tree from a generic AABB tree.
- Parameters
-
tree | [in] generic AABB tree |
- Returns
- true if success
◆ GetNbNodes()
◆ GetUsedBytes()
virtual udword Opcode::AABBOptimizedTree::GetUsedBytes |
( |
| ) |
const |
|
pure virtual |
◆ Refit()
Refits the collision tree after vertices have been modified.
- Parameters
-
mesh_interface | [in] mesh interface for current model |
- Returns
- true if success
◆ Walk()
Walks the tree and call the user back for each node.
- Parameters
-
callback | [in] walking callback |
user_data | [in] callback's user data |
- Returns
- true if success
◆ mNbNodes
udword Opcode::AABBOptimizedTree::mNbNodes |
|
protected |
The documentation for this class was generated from the following file: