NTempest::CFacet
struct · cmath · 52 bytes
- Meaning
- Holds a triangle with its plane: the plane, then the three vertices
- Confidence
- verified, proof one
- 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 | 16 | NTempest::C4Plane | m_plane | Holds the plane of the three vertices | verified, proof one | cmath/types#boxes-spheres-and-planes |
0x0010 | 36 | NTempest::C3Vector[3] | m_vertices | Holds the three vertices | verified, proof one | cmath/types#boxes-spheres-and-planes |