aabbContainsPoint
aabbContainsPoint(
box,p):boolean
Defined in: src/modules/collision/narrowphase.ts:48
True when p lies inside the box or exactly on its edge. Boundary-inclusive,
unlike the strict aabbVsAabb, so a point on a shared edge belongs to
both boxes — the answer picking and “am I inside a wall?” both want.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”boolean