com.bulletphysics
Class BulletGlobals

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

public class BulletGlobals
extends Object

Bullet global settings and constants.


Field Summary
static float CONVEX_DISTANCE_MARGIN
           
static boolean DEBUG
           
static float FLT_EPSILON
           
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
           
 
Constructor Summary
BulletGlobals()
           
 
Method Summary
static void cleanCurrentThread()
          Cleans all current thread specific settings and caches.
static ContactAddedCallback getContactAddedCallback()
           
static float getContactBreakingThreshold()
           
static ContactDestroyedCallback getContactDestroyedCallback()
           
static ContactProcessedCallback getContactProcessedCallback()
           
static float getDeactivationTime()
           
static boolean isDeactivationDisabled()
           
static void setContactAddedCallback(ContactAddedCallback callback)
           
static void setContactBreakingThreshold(float threshold)
           
static void setContactDestroyedCallback(ContactDestroyedCallback callback)
           
static void setContactProcessedCallback(ContactProcessedCallback callback)
           
static void setDeactivationDisabled(boolean disable)
           
static void setDeactivationTime(float time)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values

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
Constructor Detail

BulletGlobals

public BulletGlobals()
Method Detail

getContactAddedCallback

public static ContactAddedCallback getContactAddedCallback()

setContactAddedCallback

public static void setContactAddedCallback(ContactAddedCallback callback)

getContactDestroyedCallback

public static ContactDestroyedCallback getContactDestroyedCallback()

setContactDestroyedCallback

public static void setContactDestroyedCallback(ContactDestroyedCallback callback)

getContactProcessedCallback

public static ContactProcessedCallback getContactProcessedCallback()

setContactProcessedCallback

public static void setContactProcessedCallback(ContactProcessedCallback callback)

getContactBreakingThreshold

public static float getContactBreakingThreshold()

setContactBreakingThreshold

public static void setContactBreakingThreshold(float threshold)

getDeactivationTime

public static float getDeactivationTime()

setDeactivationTime

public static void setDeactivationTime(float time)

isDeactivationDisabled

public static boolean isDeactivationDisabled()

setDeactivationDisabled

public static void setDeactivationDisabled(boolean disable)

cleanCurrentThread

public static void cleanCurrentThread()
Cleans all current thread specific settings and caches.