benilla-re systems structs docs

UpdateCameraHeading

function · lighting · primitive

Address
0x6d4530 · 142 bytes, up to 0x6d45bd
Meaning
Sets the camera heading in [0, 2π) from the forward vector
Confidence
verified, proof one
Finding
lighting/daynight#recompute
Test
lighting::wind_angle_update_difftest

Finding: Recompute in lighting: day-night

The table is rebuilt every frame by the world's sky update. 0x6d2210 clears the interior fog blend, then runs the storm weight, the table, the sun direction and the celestial bodies, and rebuilds the cloud texture whole when its flag is set, else one band of it. The per-frame path first sets the camera heading.

The derivation is in the doc.

Callers 1

Callees 6

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