NTempest::C4Plane
struct · cmath · 16 bytes
- Meaning
- Holds a plane: the unit normal n, then d, so that n·p + d is 0 on the plane
- Confidence
- verified, proof one
- Name from
- a later build's public symbols
- Finding
- cmath/types#boxes-spheres-and-planes
Finding: Boxes, spheres and planes in cmath: value types
NTempest::CAaBox is the minimum corner then the maximum. NTempest::CAaSphere is the centre then the radius.
NTempest::C4Plane is the unit normal n then d, with n·p + d = 0 for a point p on the plane.
NTempest::CFacet is a plane followed by the three vertices it was built from, at +0x10, +0x1c
and +0x28.
The derivation is in the doc.
Fields 2
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 12 | NTempest::C3Vector | m_normal | Holds the unit normal | verified, proof one | cmath/types#boxes-spheres-and-planes |
0x000c | 4 | float | m_distance | Holds d, the negated distance of the plane from the origin along the normal | verified, proof one | cmath/types#boxes-spheres-and-planes |