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. More... | |
Node * | Build (AABBTreeBuilderStats &outStats) |
Recursively build tree, returns the root node of the tree. More... | |
Helper class to build an AABB tree.
AABBTreeBuilder::AABBTreeBuilder | ( | TriangleSplitter & | inSplitter, |
uint | inMaxTrianglesPerLeaf = 16 |
||
) |
Constructor.
AABBTreeBuilder::Node * AABBTreeBuilder::Build | ( | AABBTreeBuilderStats & | outStats | ) |
Recursively build tree, returns the root node of the tree.