Murl::Resource::IMesh::Raw::BspNode Struct Reference

A BSP node. More...

`#include "murl_resource_i_mesh.h"`

## Public Attributes | |

SInt32 | mPlaneIndex |

The zero-based index of the BspPlane that splits this node. | |

SInt32 | mLeftChildIndex |

The index of the left child. | |

SInt32 | mRightChildIndex |

The index of the right child. | |

Float | mBoundingBoxMinX |

The minimum X coordinate of the node's axis-aligned bounding box. | |

Float | mBoundingBoxMinY |

The minimum Y coordinate of the node's axis-aligned bounding box. | |

Float | mBoundingBoxMinZ |

The minimum Z coordinate of the node's axis-aligned bounding box. | |

Float | mBoundingBoxMaxX |

The maximum X coordinate of the node's axis-aligned bounding box. | |

Float | mBoundingBoxMaxY |

The maximum Y coordinate of the node's axis-aligned bounding box. | |

Float | mBoundingBoxMaxZ |

The maximum Z coordinate of the node's axis-aligned bounding box. | |

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 | mBoundingSphereRadius |

The radius of the node's bounding sphere. | |

## Detailed Description

A BSP 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 BspNode, otherwise the index is bit-wise inverted and then represents the index of a BspLeaf.

The documentation for this struct was generated from the following file:

- murl_resource_i_mesh.h