benilla-re systems structs docs

ApplyCameraProjectionAndView

function · models · orchestration

Address
0x50ab70 · 406 bytes, up to 0x50ad05
Meaning
Sets the device projection and a view that looks from the origin along the camera forward with its up
Confidence
verified, proof one
Finding
models/scene#scene-origin
Test
ui::glue_50a_50ab70_proj_aspect

Finding: Scene origin in models: the scene

The world scene 0xc7b298 is rebased on the camera position. The frame passes the address of the camera's +0x8 triple to 0x707680; every other caller passes a zero triple, so a model frame stays camera-local. The device view it reads has no translation: 0x50ab70 builds it with the eye at (0, 0, 0). The scene view is therefore the rotation with the translation row −p·R, each component one float store, and each instance's root matrix is its placement (the absolute map position in row 3) times that matrix through 0x74a7c0. No double is stored on the path.

The derivation is in the doc.

Callers 1

Callees 4

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