MaxVector3
function · terrain · primitive
- Address
0x6992c0· 98 bytes, up to0x699321- Signature
float * __fastcall (float *out, const float *a, const float *b)- Meaning
- Writes the per-component maximum of two vectors, the second's on a tie or NaN
- Confidence
- verified, proof one
- Finding
- terrain/doodads#vector-maximum
- Test
terrain::vec3_max
Finding: Vector maximum in terrain: doodad defs
0x6992c0 writes the per-component maximum of two vectors, each component the first vector's
when it is strictly greater than the second's and the second's otherwise, so a NaN takes the
second.
The derivation is in the doc.
Callers 4
- PropagateLinkBounds terrain
- DrawBlobShadow lighting
- BoundsOfPoints cmath
- 0x7c1590 cmath
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.