com.bulletphysics
Class BulletGlobals
java.lang.Object
com.bulletphysics.BulletGlobals
public class BulletGlobals
- extends Object
Bullet global settings and constants.
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
BulletGlobals
public BulletGlobals()
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.