benilla-re systems structs docs

OrientedBox

struct · cmath · 60 bytes

Meaning
Holds an oriented box: centre, half-extents and three unit axes; the size is the extent read
Confidence
inferred
Finding
cmath/types#cones-and-oriented-boxes

Finding: Cones and oriented boxes in cmath: value types

Cone is the apex at +0, the unit axis at +0x10, the cap length at +0x1c and the cosine of the half-angle at +0x20; nothing reads +0xc. OrientedBox is the centre at +0, the half-extents at +0xc and three unit axes at +0x18, +0x24 and +0x30. Both are taken only by unreached routines, no allocation or constructor gives their sizes, and the sizes 36 and 60 are the extents the routines read. No public names for them are known, so their names are descriptive.

The derivation is in the doc.

Fields 3

offsetsizetypenamemeaningconfidencefinding
0x000012NTempest::C3Vectorm_centerHolds the centreverified, proof onecmath/types#cones-and-oriented-boxes
0x000c12NTempest::C3Vectorm_halfExtentsHolds the half-extents along the three axesverified, proof onecmath/types#cones-and-oriented-boxes
0x001836NTempest::C3Vector[3]m_axesHolds the three unit axes, one per rowverified, proof onecmath/types#cones-and-oriented-boxes