DoesSphereTouchBox
function · unassigned · unreached
- Address
0x6dc7a0· 110 bytes, up to0x6dc80d- Signature
uint32_t __fastcall (const NTempest::CAaBox *box, const NTempest::C3Vector *center, float radius)- Meaning
- Returns 1 when a sphere reaches a box: the squared clamp distance at most the squared radius
- Confidence
- verified, proof two
- Finding
- cmath/solids#sphere-and-box
Finding: Sphere and box in cmath: boxes, cones and triangles
0x6dc7a0(radius) takes a box in ecx and a centre in edx and returns 1 when the sum over the three axes of the squared
distance from the centre to the box's slab (0 inside it) is at most the squared radius.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.