src/world/Narrowphase.js:15
 Helper class for the World. Generates ContactEquations.
convexConvexsi
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:1252
 
si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 convexParticleresult
 si
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:1475
 
result
 Array
 
 si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 convexTrimeshresult
 si
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:1309
 
result
 Array
 
 si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 createContactEquation
 Defined in
 src/world/Narrowphase.js:51
 
Make a contact object, by using the internal pool or creating a new one.
getContactsp1
 p2
 world
 result
 oldcontacts
 
 Defined in
 src/world/Narrowphase.js:199
 
Generate all contacts between a list of body pairs
p1
 Array
 Array of body indices
p2
 Array
 Array of body indices
world
 World 
 
 result
 Array
 Array to store generated contacts
oldcontacts
 Array
 Optional. Array of reusable contact objects
particlePlaneresult
 si
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:1393
 
result
 Array
 
 si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 particleSphereresult
 si
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:1434
 
result
 Array
 
 si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 planeBoxresult
 si
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:1152
 
result
 Array
 
 si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 planeConvexsi
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:1176
 
si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 planeTrimeshsi
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:345
 
si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 sphereBoxsi
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:708
 
si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 sphereConvexsi
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:929
 
si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 spherePlanesi
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:612
 
si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 sphereSpheresi
 sj
 xi
 xj
 qi
 qj
 bi
 bj
 
 Defined in
 src/world/Narrowphase.js:308
 
si
 Shape 
 
 sj
 Shape 
 
 xi
 Vec3 
 
 xj
 Vec3 
 
 qi
 Quaternion 
 
 qj
 Quaternion 
 
 bi
 Body 
 
 bj
 Body 
 
 sphereTrimeshsphereShape
 trimeshShape
 spherePos
 trimeshPos
 sphereQuat
 trimeshQuat
 sphereBody
 trimeshBody
 
 Defined in
 src/world/Narrowphase.js:416
 
sphereShape
 Shape 
 
 trimeshShape
 Shape 
 
 spherePos
 Vec3 
 
 trimeshPos
 Vec3 
 
 sphereQuat
 Quaternion 
 
 trimeshQuat
 Quaternion 
 
 sphereBody
 Body 
 
 trimeshBody
 Body 
 
 contactPointPool
 Defined in
 src/world/Narrowphase.js:25
 
Internal storage of pooled contact points.