Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Public Member Functions | Friends | List of all members
AABBTree Class Reference

#include <AABBTree.h>

Inheritance diagram for AABBTree:
CollisionBaseObject AABBTreeNode

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 ()
virtual ~AABBTreeNode ()
 destructor More...


class AABBTreeNode

Additional Inherited Members

- Public Attributes inherited from AABBTreeNode
AABBTreeNodemSon1 = 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

Detailed Description

Root ABBTreeNode + all buffers to manage collisions.

Member Function Documentation

◆ BuildFromTriangleList()

void AABBTree::BuildFromTriangleList ( Point3D *  vertexList,
int  vertexCount,
void *  indexList,
int  indexCount,
int  leafSize = 16,
bool  force_u32 = false 

then construct temporary triangle array

The documentation for this class was generated from the following files: