benilla-re systems structs docs

s_cameraQuadrant

global · terrain

Address
0xc7f294 · 4 bytes, up to 0xc7f297
Type
uint32_t
Meaning
Holds 2 when the camera target's x is below the eye's, plus 1 when its y is
Confidence
verified, proof one
Finding
terrain/cull#chunk-points

Finding: Chunk points in terrain: cull

After the level and idle step, 0x6afad0 files what a chunk holds, if the chunk's box meets the frame box (0xc7cb5c). The chunk goes to its band by one of its corner vertices: the index 0, 8, 0x88 or 0x90 of the outer grid, chosen by two bits that tell which way the camera target lies from the eye. A detail doodad def and each liquid slot whose box meets the frame box are filed by their own sphere or box centre.

The derivation is in the doc.