public class TransformUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static float |
ANGULAR_MOTION_THRESHOLD |
static float |
SIMDSQRT12 |
| Constructor and Description |
|---|
TransformUtil() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final float SIMDSQRT12
public static final float ANGULAR_MOTION_THRESHOLD
public static float recipSqrt(float x)
public static void integrateTransform(Transform curTrans, Vector3f linvel, Vector3f angvel, float timeStep, Transform predictedTransform)
public static void calculateVelocity(Transform transform0, Transform transform1, float timeStep, Vector3f linVel, Vector3f angVel)