src/collision/NaiveBroadphase.js:6
 Naive broadphase implementation, used in lack of better ones.
aabbQueryworld
 aabb
 result
 Inherited from
 
 Broadphase
 
 but overwritten in
 src/collision/NaiveBroadphase.js:49
 
Returns all the bodies within an AABB.
boundingSphereCheckbodyA
 bodyB
 Inherited from
 Broadphase:
 src/collision/Broadphase.js:183
 
Check if the bounding spheres of two bodies overlap.
collisionPairsworld
 pairs1
 pairs2
 Inherited from
 
 Broadphase
 
 but overwritten in
 src/collision/NaiveBroadphase.js:19
 
Get all the collision pairs in the physics world
world
 World 
 
 pairs1
 Array
 
 pairs2
 Array
 
 doBoundingBoxBroadphasebodyA
 bodyB
 pairs1
 pairs2
 Inherited from
 Broadphase:
 src/collision/Broadphase.js:112
 
Check if the bounding boxes of two bodies are intersecting.
doBoundingSphereBroadphasebodyA
 bodyB
 pairs1
 pairs2
 Inherited from
 Broadphase:
 src/collision/Broadphase.js:89
 
Check if the bounding spheres of two bodies are intersecting.
intersectionTestbodyA
 bodyB
 pairs1
 pairs2
 Inherited from
 Broadphase:
 src/collision/Broadphase.js:73
 
Check if the bounding volumes of two bodies intersect.
makePairsUniquepairs1
 pairs2
 Inherited from
 Broadphase:
 src/collision/Broadphase.js:135
 
Removes duplicate pairs from the pair arrays.
pairs1
 Array
 
 pairs2
 Array
 
 needBroadphaseCollisionbodyA
 bodyB
 Inherited from
 Broadphase:
 src/collision/Broadphase.js:48
 
Check if a body pair needs to be intersection tested at all.
setWorldworld
 Inherited from
 Broadphase:
 src/collision/Broadphase.js:175
 
To be implemented by subcasses
world
 World 
 
 dirtyInherited from
 Broadphase:
 src/collision/Broadphase.js:30
 
Set to true if the objects in the world moved.
useBoundingBoxesInherited from
 Broadphase:
 src/collision/Broadphase.js:23
 
If set to true, the broadphase uses bounding boxes for intersection test, else it uses bounding spheres.
worldInherited from
 Broadphase:
 src/collision/Broadphase.js:16
 
The world to search for collisions in.