benilla-re systems structs docs

CChunkLiquid::BuildVertices

function · terrain · primitive

Address
0x68d540 · 330 bytes, up to 0x68d689
Signature
void __thiscall (CChunkLiquid *this)
Meaning
Writes a liquid's 81 chunk-relative vertices from its MCLQ heights and the chunk's steps
Confidence
verified, proof one
Finding
terrain/liquid#liquid-vertices
Test
terrain::liquid_grid_verts

Finding: Liquid vertices in terrain: liquid

0x68d540 writes a liquid's 81 vertices at +0x34, nine rows of nine, relative to the chunk position like the terrain's outer vertices: vertex (j, i) is (j·sx, i·sy, h − z), with sx and sy the chunk's steps (chunk#chunk-vertices), h the MCLQ vertex's height and z the chunk position's z, each a float.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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