CChunkLiquid::BucketCentre
function · terrain · primitive
- Address
0x681970· 194 bytes, up to0x681a31- Signature
void __fastcall (CChunkLiquid *arg1, uint32_t slot, const float *centre)- Meaning
- Files a liquid's centre in a depth sub-bucket by its slot
- Confidence
- inferred
- Finding
- terrain/cull#depth-buckets
- Test
terrain::depth_bucket_v3_difftest
Finding: Depth buckets in terrain: cull
The scene files what it draws into 32 depth bands of 33.33 yards, nearest first. The band is round-to-nearest of (depth · 0.03 − 0.5), the depth the signed distance along the camera's horizontal facing, less the radius for a sphere. A negative value is band 0, and a band of 32 or more is not filed at all. Each band holds a list per kind, and a node leaves its old list before it joins the tail of the new one.
The derivation is in the doc.
Callers 1
- CMapChunk::Update terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.