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
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 12 | NTempest::C3Vector | m_center | Holds the centre | verified, proof one | cmath/types#cones-and-oriented-boxes |
0x000c | 12 | NTempest::C3Vector | m_halfExtents | Holds the half-extents along the three axes | verified, proof one | cmath/types#cones-and-oriented-boxes |
0x0018 | 36 | NTempest::C3Vector[3] | m_axes | Holds the three unit axes, one per row | verified, proof one | cmath/types#cones-and-oriented-boxes |