benilla-re systems structs docs

s_quadrantCornerVertex

global · terrain

Address
0x86b580 · 16 bytes, up to 0x86b58f
Type
uint32_t[4]
Meaning
Holds the chunk vertex 0, 8, 136 or 144 that files the chunk in a depth band by the camera quadrant
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.