benilla-re systems structs docs

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

offsetsizetypenamemeaningconfidencefinding
0x000012NTempest::C3Vectorm_normalHolds the unit normalverified, proof onecmath/types#boxes-spheres-and-planes
0x000c4floatm_distanceHolds d, the negated distance of the plane from the origin along the normalverified, proof onecmath/types#boxes-spheres-and-planes