public final class AQuat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private float |
w |
private float |
x |
private float |
y |
private float |
z |
Constructor and Description |
---|
AQuat() |
AQuat(float w,
float x,
float y,
float z) |
Modifier and Type | Method and Description |
---|---|
float[] |
getValue()
Transform this Quaternion into an angle (radians) and an axis vector, about
which to rotate (avoids NaN by setting sa to 1.0F when sa < epsilon)
|
static AQuat |
mult(AQuat q1,
AQuat q2) |
void |
reset() |
void |
set(AQuat q) |
void |
set(float w,
AVector v) |
public AQuat()
public AQuat(float w, float x, float y, float z)
w
- x
- y
- z
- public final void reset()
public void set(float w, AVector v)
w
- scalarv
- custom Vector classpublic void set(AQuat q)
q
- public static AQuat mult(AQuat q1, AQuat q2)
q1
- q2
- public float[] getValue()