com.bulletphysics
Class BulletGlobals

java.lang.Object
  extended by com.bulletphysics.BulletGlobals

public class BulletGlobals
extends java.lang.Object

Bullet's global variables and constants.


Field Summary
static float CONVEX_DISTANCE_MARGIN
           
static boolean DEBUG
           
static boolean ENABLE_PROFILE
           
static ArrayPool<float[]> floatArrays
           
static float FLT_EPSILON
           
static int gAddedPairs
           
static ContactAddedCallback gContactAddedCallback
           
static float gContactBreakingThreshold
           
static ContactDestroyedCallback gContactDestroyedCallback
           
static ContactProcessedCallback gContactProcessedCallback
           
static float gDeactivationTime
           
static boolean gDisableDeactivation
           
static int gFindPairs
           
static int gNumAlignedAllocs
           
static int gNumAlignedFree
           
static int gNumDeepPenetrationChecks
           
static int gNumGjkChecks
           
static int gNumSplitImpulseRecoveries
           
static float gOldPickingDist
           
static javax.vecmath.Vector3f gOldPickingPos
           
static int gOverlappingPairs
           
static int gPickingConstraintId
           
static Clock gProfileClock
           
static int gRemovePairs
           
static int gTotalBytesAlignedAllocs
           
static int gTotalContactPoints
           
static float SIMD_2_PI
           
static float SIMD_DEGS_PER_RAD
           
static float SIMD_EPSILON
           
static float SIMD_HALF_PI
           
static float SIMD_INFINITY
           
static float SIMD_PI
           
static float SIMD_RADS_PER_DEG
           
static long stepSimulationTime
           
static long updateTime
           
static javax.vecmath.Vector3f ZERO_VECTOR3
           
 
Constructor Summary
BulletGlobals()
           
 
Method Summary
static void popProfile()
           
static float profileGetTickRate()
           
static long profileGetTicks()
           
static void pushProfile(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values

ENABLE_PROFILE

public static boolean ENABLE_PROFILE

CONVEX_DISTANCE_MARGIN

public static final float CONVEX_DISTANCE_MARGIN
See Also:
Constant Field Values

FLT_EPSILON

public static final float FLT_EPSILON
See Also:
Constant Field Values

SIMD_EPSILON

public static final float SIMD_EPSILON
See Also:
Constant Field Values

SIMD_2_PI

public static final float SIMD_2_PI
See Also:
Constant Field Values

SIMD_PI

public static final float SIMD_PI
See Also:
Constant Field Values

SIMD_HALF_PI

public static final float SIMD_HALF_PI
See Also:
Constant Field Values

SIMD_RADS_PER_DEG

public static final float SIMD_RADS_PER_DEG
See Also:
Constant Field Values

SIMD_DEGS_PER_RAD

public static final float SIMD_DEGS_PER_RAD
See Also:
Constant Field Values

SIMD_INFINITY

public static final float SIMD_INFINITY
See Also:
Constant Field Values

gContactDestroyedCallback

public static ContactDestroyedCallback gContactDestroyedCallback

gContactAddedCallback

public static ContactAddedCallback gContactAddedCallback

gContactProcessedCallback

public static ContactProcessedCallback gContactProcessedCallback

gContactBreakingThreshold

public static float gContactBreakingThreshold

gDeactivationTime

public static float gDeactivationTime

gDisableDeactivation

public static boolean gDisableDeactivation

gTotalContactPoints

public static int gTotalContactPoints

gNumDeepPenetrationChecks

public static int gNumDeepPenetrationChecks

gNumGjkChecks

public static int gNumGjkChecks

gNumSplitImpulseRecoveries

public static int gNumSplitImpulseRecoveries

gNumAlignedAllocs

public static int gNumAlignedAllocs

gNumAlignedFree

public static int gNumAlignedFree

gTotalBytesAlignedAllocs

public static int gTotalBytesAlignedAllocs

gPickingConstraintId

public static int gPickingConstraintId

gOldPickingPos

public static final javax.vecmath.Vector3f gOldPickingPos

gOldPickingDist

public static float gOldPickingDist

gOverlappingPairs

public static int gOverlappingPairs

gRemovePairs

public static int gRemovePairs

gAddedPairs

public static int gAddedPairs

gFindPairs

public static int gFindPairs

ZERO_VECTOR3

public static final javax.vecmath.Vector3f ZERO_VECTOR3

gProfileClock

public static final Clock gProfileClock

stepSimulationTime

public static long stepSimulationTime

updateTime

public static long updateTime

floatArrays

public static final ArrayPool<float[]> floatArrays
Constructor Detail

BulletGlobals

public BulletGlobals()
Method Detail

profileGetTicks

public static long profileGetTicks()

profileGetTickRate

public static float profileGetTickRate()

pushProfile

public static void pushProfile(java.lang.String name)

popProfile

public static void popProfile()