com.bulletphysics.linearmath
Class TransformUtil

java.lang.Object
  extended by com.bulletphysics.linearmath.TransformUtil

public class TransformUtil
extends Object

Utility functions for transforms.


Field Summary
static float ANGULAR_MOTION_THRESHOLD
           
static float SIMDSQRT12
           
 
Constructor Summary
TransformUtil()
           
 
Method Summary
static void calculateDiffAxisAngle(Transform transform0, Transform transform1, Vector3f axis, float[] angle)
           
static void calculateVelocity(Transform transform0, Transform transform1, float timeStep, Vector3f linVel, Vector3f angVel)
           
static void integrateTransform(Transform curTrans, Vector3f linvel, Vector3f angvel, float timeStep, Transform predictedTransform)
           
static void planeSpace1(Vector3f n, Vector3f p, Vector3f q)
           
static float recipSqrt(float x)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMDSQRT12

public static final float SIMDSQRT12
See Also:
Constant Field Values

ANGULAR_MOTION_THRESHOLD

public static final float ANGULAR_MOTION_THRESHOLD
See Also:
Constant Field Values
Constructor Detail

TransformUtil

public TransformUtil()
Method Detail

recipSqrt

public static float recipSqrt(float x)

planeSpace1

public static void planeSpace1(Vector3f n,
                               Vector3f p,
                               Vector3f q)

integrateTransform

public static void integrateTransform(Transform curTrans,
                                      Vector3f linvel,
                                      Vector3f angvel,
                                      float timeStep,
                                      Transform predictedTransform)

calculateVelocity

public static void calculateVelocity(Transform transform0,
                                     Transform transform1,
                                     float timeStep,
                                     Vector3f linVel,
                                     Vector3f angVel)

calculateDiffAxisAngle

public static void calculateDiffAxisAngle(Transform transform0,
                                          Transform transform1,
                                          Vector3f axis,
                                          float[] angle)