wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::wmo::group::chunks::CAaBspNode Struct Reference

One MOBN BSP node for collision: a split plane or a leaf referencing faces through MOBR. More...

#include <wowlib/formats/wmo/group/chunks/geometry.hpp>

Public Attributes

std::uint16_t flags = 0
 0-2: split axis, 0x4: leaf.
std::int16_t negChild = -1
 Negative-side child node, -1 for none.
std::int16_t posChild = -1
 Positive-side child node, -1 for none.
std::uint16_t nFaces = 0
 Face count in MOBR (leaves).
std::uint32_t faceStart = 0
 First face index in MOBR.
float planeDist = 0
 Split plane distance from the model origin.

Detailed Description

One MOBN BSP node for collision: a split plane or a leaf referencing faces through MOBR.

Definition at line 189 of file geometry.hpp.

Member Data Documentation

◆ faceStart

std::uint32_t wowlib::formats::wmo::group::chunks::CAaBspNode::faceStart = 0

First face index in MOBR.

Definition at line 203 of file geometry.hpp.

◆ flags

std::uint16_t wowlib::formats::wmo::group::chunks::CAaBspNode::flags = 0

0-2: split axis, 0x4: leaf.

Definition at line 191 of file geometry.hpp.

◆ negChild

std::int16_t wowlib::formats::wmo::group::chunks::CAaBspNode::negChild = -1

Negative-side child node, -1 for none.

Definition at line 194 of file geometry.hpp.

◆ nFaces

std::uint16_t wowlib::formats::wmo::group::chunks::CAaBspNode::nFaces = 0

Face count in MOBR (leaves).

Definition at line 200 of file geometry.hpp.

◆ planeDist

float wowlib::formats::wmo::group::chunks::CAaBspNode::planeDist = 0

Split plane distance from the model origin.

Definition at line 206 of file geometry.hpp.

◆ posChild

std::int16_t wowlib::formats::wmo::group::chunks::CAaBspNode::posChild = -1

Positive-side child node, -1 for none.

Definition at line 197 of file geometry.hpp.


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