benilla-re systems structs docs

M2ConformRows

function · models · primitive

Address
0x710a80 · 247 bytes, up to 0x710b76
Meaning
Rebuilds a rotation's rows so its third row is a given normal, keeping the first row's heading
Confidence
inferred
Finding
models/model#base-transform
Test
models::m2_orthonormal_basis_difftest

Finding: Base transform in models: the instance

0x710650 builds the base matrix as identity, translated, rotated by an angle about an axis, and scaled. 0x7106c0 does the same with a ground normal: for header flag mode 1 it rebuilds the rotation's rows so the third row is the normal, for mode 3 it does so through 0x710a80, and while a key bone plays an animation with flags 2, 4 or 8 it blends the conformed rotation with the plain one by the animation's progress.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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