![]() |
Murl Engine API
Version 2018.3
|
A bounding volume hierarchy node. More...
#include <murl_resource_i_mesh.h>
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.
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. | |