benilla-re systems structs docs

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

offsetsizetypenamemeaningconfidencefinding
0x000016NTempest::C4Planem_planeHolds the plane of the three verticesverified, proof onecmath/types#boxes-spheres-and-planes
0x001036NTempest::C3Vector[3]m_verticesHolds the three verticesverified, proof onecmath/types#boxes-spheres-and-planes