com.bulletphysics.linearmath
Class TransformUtil
java.lang.Object
com.bulletphysics.linearmath.TransformUtil
public class TransformUtil
- extends Object
Utility functions for transforms.
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)
|
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
TransformUtil
public TransformUtil()
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)