Blender V2.61 - r43446
|
struct for a single node in the bsp tree More...
Public Member Functions | |
BSPNode () | |
bool | isLeaf () const |
check if node is a leaf | |
Public Attributes | |
ntlVec3Gfx | min |
ntlVec3Gfx | max |
vector< ntlTriangle * > * | members |
BSPNode * | child [2] |
char | axis |
char | cloneVec |
struct for a single node in the bsp tree
Definition at line 33 of file ntl_bsptree.cpp.
BSPNode::BSPNode | ( | ) | [inline] |
Definition at line 35 of file ntl_bsptree.cpp.
bool BSPNode::isLeaf | ( | ) | const [inline] |
check if node is a leaf
Definition at line 44 of file ntl_bsptree.cpp.
Referenced by ntlTree::intersect(), and ntlTree::intersectX().
char BSPNode::axis |
Definition at line 40 of file ntl_bsptree.cpp.
Referenced by ntlTree::distanceToPlane(), ntlTree::getChildren(), ntlTree::intersect(), ntlTree::intersectX(), ntlTree::ntlTree(), and ntlTree::subdivide().
Definition at line 39 of file ntl_bsptree.cpp.
Referenced by calcStats(), ntlTree::deleteNode(), ntlTree::getChildren(), ntlTree::intersect(), ntlTree::intersectX(), isLeaf(), ntlTree::ntlTree(), and ntlTree::subdivide().
char BSPNode::cloneVec |
Definition at line 41 of file ntl_bsptree.cpp.
Referenced by ntlTree::ntlTree(), and ntlTree::subdivide().
Definition at line 35 of file ntl_bsptree.cpp.
Referenced by ntlTree::getChildren(), ntlTree::intersect(), ntlTree::intersectX(), ntlTree::ntlTree(), and ntlTree::subdivide().
vector<ntlTriangle *>* BSPNode::members |
Definition at line 38 of file ntl_bsptree.cpp.
Referenced by calcStats(), ntlTree::deleteNode(), ntlTree::intersect(), ntlTree::intersectX(), ntlTree::ntlTree(), and ntlTree::subdivide().
Definition at line 35 of file ntl_bsptree.cpp.
Referenced by ntlTree::intersect(), ntlTree::intersectX(), ntlTree::ntlTree(), and ntlTree::subdivide().