benilla-re systems structs docs

NTempest::C33Matrix

struct · cmath · 36 bytes

Meaning
Holds a 3×3 matrix of floats row by row: entry (r, c) at float 3r + c
Confidence
verified, proof one
Name from
a later build's public symbols
Finding
cmath/types#matrices

Finding: Matrices in cmath: value types

NTempest::C44Matrix is 16 floats, row by row: entry (r, c) at float 4r + c. A point is a row vector on the left, v·M, x' = x·m0 + y·m4 + z·m8 + m12, so row 3 holds the translation. NTempest::C33Matrix is nine floats, entry (r, c) at 3r + c. NTempest::C34Matrix is a NTempest::C33Matrix followed by a translation row at +0x24. Matrix2x2 is four floats, row by row; its one builder 0x7c42f0 writes the rotation [[cos, sin], [−sin, cos]].

The derivation is in the doc.

Fields 3

offsetsizetypenamemeaningconfidencefinding
0x000012float[3]m_row0Holds row 0, entries (0, 0) to (0, 2)verified, proof onecmath/types#matrices
0x000c12float[3]m_row1Holds row 1, entries (1, 0) to (1, 2)verified, proof onecmath/types#matrices
0x001812float[3]m_row2Holds row 2, entries (2, 0) to (2, 2)verified, proof onecmath/types#matrices