sphere3VsSphere3
sphere3VsSphere3(
aCenter,aRadius,bCenter,bRadius):boolean
Defined in: src/modules/collision-3d/narrowphase3.ts:142
Two spheres overlap (or touch) when the centre distance is at most the sum of radii.
Parameters
Section titled “Parameters”aCenter
Section titled “aCenter”aRadius
Section titled “aRadius”number
bCenter
Section titled “bCenter”bRadius
Section titled “bRadius”number
Returns
Section titled “Returns”boolean