benilla-re systems structs docs

CaptureSceneCamera

function · terrain · primitive

Address
0x680bc0 · 1197 bytes, up to 0x68106c
Signature
void __fastcall (uint32_t arg1, uint32_t arg2)
Meaning
Captures the camera's planes, frustum and view matrices for the frame
Confidence
inferred
Finding
terrain/cull#scene-frame
Test
terrain::scene_dir_subtract_difftest, terrain::scene_dir_normalize_difftest, terrain::scene_dot_negate_difftest, terrain::scene_plane_gate_difftest, terrain::scene_plane_normalize_difftest, terrain::scene_corner_negate_difftest

Finding: Scene frame in terrain: cull

0x681070 draws the world each frame: it sets the fog distances from the far clip, captures the camera planes and frustum (0x680bc0), walks the scene (0x682fa0), and runs the passes: far-band objects, terrain chunks, map objects, liquids, weather and the effects.

The derivation is in the doc.

Callers 1

Callees 13

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