IsPointInBox
function · collision · orchestration
- Address
0x637350· 96 bytes, up to0x6373af- Signature
uint32_t __thiscall (float *this, const float *point)- Meaning
- Returns 1 when a point lies within a box on all three axes, bounds included
- Confidence
- verified, proof one
- Finding
- collision/walking#vector-box-and-plane-helpers
- Test
collision::resolve_toolkit_difftest
Finding: Vector, box and plane helpers in collision: walking
0x6372d0 adds a scalar to each component of a vector, 0x637300 subtracts it, each result
rounded to float; 0x637330 writes the negation. 0x637350 returns 1 when a point lies within a
box's min and max on all three axes, bounds included; NaN fails. 0x6373b0(out, a, b) (ecx,
edx, one stack argument) writes, per component, a's bound when it lies strictly outside b's,
else b's: the union of two boxes. 0x637480(p0, p1, p2) writes the plane n = (p1 − p0) × (p2 − p0), normalized, and d = −((n.z·p0.z + n.y·p0.y) + n.x·p0.x); nothing guards a
degenerate triangle. 0x6376a0 sets a plane to (0, 0, 1, 0).
The derivation is in the doc.
Callers 1
- CMovement::GatherSweepFacets collision
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.