com.bulletphysics.collision.broadphase
Class DbvtBroadphase
java.lang.Object
com.bulletphysics.collision.broadphase.BroadphaseInterface
com.bulletphysics.collision.broadphase.DbvtBroadphase
public class DbvtBroadphase
- extends BroadphaseInterface
Method Summary |
void |
calculateOverlappingPairs(Dispatcher dispatcher)
|
void |
collide(Dispatcher dispatcher)
|
BroadphaseProxy |
createProxy(Vector3f aabbMin,
Vector3f aabbMax,
BroadphaseNativeType shapeType,
Object userPtr,
short collisionFilterGroup,
short collisionFilterMask,
Dispatcher dispatcher,
Object multiSapProxy)
|
void |
destroyProxy(BroadphaseProxy absproxy,
Dispatcher dispatcher)
|
void |
getBroadphaseAabb(Vector3f aabbMin,
Vector3f aabbMax)
|
OverlappingPairCache |
getOverlappingPairCache()
|
void |
printStats()
|
void |
setAabb(BroadphaseProxy absproxy,
Vector3f aabbMin,
Vector3f aabbMax,
Dispatcher dispatcher)
|
DBVT_BP_MARGIN
public static final float DBVT_BP_MARGIN
- See Also:
- Constant Field Values
DYNAMIC_SET
public static final int DYNAMIC_SET
- See Also:
- Constant Field Values
FIXED_SET
public static final int FIXED_SET
- See Also:
- Constant Field Values
STAGECOUNT
public static final int STAGECOUNT
- See Also:
- Constant Field Values
sets
public final Dbvt[] sets
stageRoots
public DbvtProxy[] stageRoots
paircache
public OverlappingPairCache paircache
predictedframes
public float predictedframes
stageCurrent
public int stageCurrent
fupdates
public int fupdates
dupdates
public int dupdates
pid
public int pid
gid
public int gid
releasepaircache
public boolean releasepaircache
DbvtBroadphase
public DbvtBroadphase()
DbvtBroadphase
public DbvtBroadphase(OverlappingPairCache paircache)
collide
public void collide(Dispatcher dispatcher)
createProxy
public BroadphaseProxy createProxy(Vector3f aabbMin,
Vector3f aabbMax,
BroadphaseNativeType shapeType,
Object userPtr,
short collisionFilterGroup,
short collisionFilterMask,
Dispatcher dispatcher,
Object multiSapProxy)
- Specified by:
createProxy
in class BroadphaseInterface
destroyProxy
public void destroyProxy(BroadphaseProxy absproxy,
Dispatcher dispatcher)
- Specified by:
destroyProxy
in class BroadphaseInterface
setAabb
public void setAabb(BroadphaseProxy absproxy,
Vector3f aabbMin,
Vector3f aabbMax,
Dispatcher dispatcher)
- Specified by:
setAabb
in class BroadphaseInterface
calculateOverlappingPairs
public void calculateOverlappingPairs(Dispatcher dispatcher)
- Specified by:
calculateOverlappingPairs
in class BroadphaseInterface
getOverlappingPairCache
public OverlappingPairCache getOverlappingPairCache()
- Specified by:
getOverlappingPairCache
in class BroadphaseInterface
getBroadphaseAabb
public void getBroadphaseAabb(Vector3f aabbMin,
Vector3f aabbMax)
- Specified by:
getBroadphaseAabb
in class BroadphaseInterface
printStats
public void printStats()
- Specified by:
printStats
in class BroadphaseInterface