![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
Helper class to build an AABB tree. More...
#include <AABBTreeBuilder.h>
Classes | |
| class | Node |
| A node in the tree, contains the AABox for the tree and any child nodes or triangles. More... | |
Public Member Functions | |
| AABBTreeBuilder (TriangleSplitter &inSplitter, uint inMaxTrianglesPerLeaf=16) | |
| Constructor. | |
| Node * | Build (AABBTreeBuilderStats &outStats) |
| Recursively build tree, returns the root node of the tree. | |
| const Array< Node > & | GetNodes () const |
| Get all nodes. | |
| const Array< IndexedTriangle > & | GetTriangles () const |
| Get all triangles. | |
Helper class to build an AABB tree.
|
explicit |
Constructor.
| AABBTreeBuilder::Node * AABBTreeBuilder::Build | ( | AABBTreeBuilderStats & | outStats | ) |
Recursively build tree, returns the root node of the tree.
|
inline |
Get all triangles.