benilla-re systems structs docs

BoundsOfIndexedPoints

function · cmath · unreached

Address
0x7c16b0 · 403 bytes, up to 0x7c1842
Signature
NTempest::CAaBox * __fastcall (NTempest::CAaBox *out, const void *indexList, const NTempest::C3Vector *vertices)
Meaning
Writes the bounds of the points an index list names
Confidence
verified, proof two
Finding
cmath/geometry#dominant-axis-and-bounds

Finding: Dominant axis and bounds in cmath: intersections

0x7bf680 returns the index of the largest component of the vector in ecx by magnitude: 0 only when |x| is strictly greater than both |y| and |z|; otherwise 1 when |y| is strictly greater than |z|, else 2, so a tie goes to the later axis. 0x7c1450(n, points) writes the bounds of n points (stride 12) to the six floats at ecx, minimum then maximum; for n of 0 all six are 0. It starts from the first point and folds each next one with a per-axis compare, the maximum through 0x6992c0. 0x7c16b0 does the same for the points an index list names.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.