Murl::Resource::IMesh::Raw::BoundingNode Struct Reference
A bounding volume hierarchy node. More...
#include "murl_resource_i_mesh.h"
Public Attributes | |
SInt32 | mLeftChildIndex |
The index of the left child. | |
SInt32 | mRightChildIndex |
The index of the right child. | |
Float | mBoundingSphereCenterX |
The X coordinate of the node's bounding sphere. | |
Float | mBoundingSphereCenterY |
The Y coordinate of the node's bounding sphere. | |
Float | mBoundingSphereCenterZ |
The Z coordinate of the node's bounding sphere. | |
Float | mBoundingSphereCenterW |
The W coordinate of the node's bounding sphere. | |
Float | mBoundingSphereRadius |
The radius of the node's bounding sphere. | |
Detailed Description
A bounding volume hierarchy node.
The left and right child indices define the respective child node or leaf in the hierarchy for this node. If such an index is greater or equal than 0, the index represents the index of a BoundingNode, otherwise the index is bit-wise inverted and then represents the index of a BoundingLeaf.
The documentation for this struct was generated from the following file:
- murl_resource_i_mesh.h