com.bulletphysics.collision.broadphase
Class AxisSweep3_32
java.lang.Object
com.bulletphysics.collision.broadphase.AxisSweep3Internal
com.bulletphysics.collision.broadphase.AxisSweep3_32
- All Implemented Interfaces:
- BroadphaseInterface
public class AxisSweep3_32
- extends AxisSweep3Internal
AxisSweep3_32 allows higher precision quantization and more objects compared to the AxisSweep3 sweep and prune.
This comes at the cost of more memory per handle, and a bit slower performance.
It uses arrays rather then lists for storage of the 3 axis.
Fields inherited from class com.bulletphysics.collision.broadphase.AxisSweep3Internal |
bpHandleMask, firstFreeHandle, handleSentinel, invalidPair, mask, maxHandles, numHandles, ownsPairCache, pairCache, pEdges, pHandles, quantize, userPairCallback, worldAabbMax, worldAabbMin |
Constructor Summary |
AxisSweep3_32(javax.vecmath.Vector3f worldAabbMin,
javax.vecmath.Vector3f worldAabbMax)
|
AxisSweep3_32(javax.vecmath.Vector3f worldAabbMin,
javax.vecmath.Vector3f worldAabbMax,
int maxHandles)
|
AxisSweep3_32(javax.vecmath.Vector3f worldAabbMin,
javax.vecmath.Vector3f worldAabbMax,
int maxHandles,
OverlappingPairCache pairCache)
|
Methods inherited from class com.bulletphysics.collision.broadphase.AxisSweep3Internal |
addHandle, allocHandle, calculateOverlappingPairs, createProxy, destroyProxy, freeHandle, getBroadphaseAabb, getHandle, getNumHandles, getOverlappingPairCache, getOverlappingPairUserCallback, printStats, quantize, removeHandle, setAabb, setOverlappingPairUserCallback, sortMaxDown, sortMaxUp, sortMinDown, sortMinUp, testAabbOverlap, testOverlap, updateHandle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxisSweep3_32
public AxisSweep3_32(javax.vecmath.Vector3f worldAabbMin,
javax.vecmath.Vector3f worldAabbMax)
AxisSweep3_32
public AxisSweep3_32(javax.vecmath.Vector3f worldAabbMin,
javax.vecmath.Vector3f worldAabbMax,
int maxHandles)
AxisSweep3_32
public AxisSweep3_32(javax.vecmath.Vector3f worldAabbMin,
javax.vecmath.Vector3f worldAabbMax,
int maxHandles,
OverlappingPairCache pairCache)
createEdgeArray
protected AxisSweep3Internal.EdgeArray createEdgeArray(int size)
- Specified by:
createEdgeArray
in class AxisSweep3Internal
createHandle
protected AxisSweep3Internal.Handle createHandle()
- Specified by:
createHandle
in class AxisSweep3Internal
getMask
protected int getMask()
- Specified by:
getMask
in class AxisSweep3Internal