CMapChunk::LoadNormals
function · terrain · primitive
- Address
0x6aff10· 92 bytes, up to0x6aff6b- Signature
void __thiscall (CMapChunk *this)- Meaning
- Converts the 145 MCNR normals of three signed bytes to floats times 1/127
- Confidence
- verified, proof one
- Finding
- terrain/chunk#chunk-normals
- Test
terrain::mcnr_normals_difftest
Finding: Chunk normals in terrain: chunk
CMapChunk::LoadNormals (0x6aff10) reads 145 normals of three signed bytes each, in the
vertices' order, and stores each component as the float s·(1/127) at +0x170.
The derivation is in the doc.
Callers 1
- CMapChunk::Load terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.