Kigs Framework
Doc version 0.8
Open source multi purpose Rapid Application Development framework
|
#include <AABBTree.h>
Public Member Functions | |
void | BuildFromTriangleList (Point3D *vertexList, int vertexCount, void *indexList, int indexCount, int leafSize=16, bool force_u32=false) |
Public Member Functions inherited from AABBTreeNode | |
AABBTreeNode () | |
constructor | |
virtual | ~AABBTreeNode () |
destructor More... | |
Friends | |
class | AABBTreeNode |
Additional Inherited Members | |
Public Attributes inherited from AABBTreeNode | |
AABBTreeNode * | mSon1 = nullptr |
sons. AABBTree is a binary tree | |
BBox | mBBox |
BBox for this node. | |
Protected Member Functions inherited from AABBTreeNode | |
template<typename t > | |
void | Build2 (AABBTree *root, BuildTriangle< t > *TrArray, BuildTriangle< t > *TmpTrArray, unsigned int TrCount, Point3D *VertexArray, const int leafSize, int lastSortMode, BBox currentbbox) |
Protected Attributes inherited from AABBTreeNode | |
int | mTriangleCount = 0 |
triangle count in this BBox | |
Root ABBTreeNode + all buffers to manage collisions.
void AABBTree::BuildFromTriangleList | ( | Point3D * | vertexList, |
int | vertexCount, | ||
void * | indexList, | ||
int | indexCount, | ||
int | leafSize = 16 , |
||
bool | force_u32 = false |
||
) |
then construct temporary triangle array