| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final double | |
| public float | w
The w coordinate. |
| public float | x
The x coordinate. |
| public float | y
The y coordinate. |
| public float | z
The z coordinate. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Quat4f(float
the x coordinate x, float the y coordinate y, float the z coordinate z, float the w scalar component w)Constructs and initializes a Quat4f from the specified xyzw coordinates. |
| public | Quat4f(float[]
the array of length 4 containing xyzw in order q)Constructs and initializes a Quat4f from the array of length 4. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | scale(float
the scalar value s)Sets the value of this Quat4f to the scalar multiplication of the scale factor with this. |
| public final void | |
| public final void | set(float[][]
the float[3][3] matrix m1)Sets the value of this quaternion to the rotational component of the passed float matrix. |
| public String | Returns: a string representation of thisQuat4f.Overrides java. Returns a |
| EPS2 | back to summary |
|---|---|
| pack-priv static final double EPS2 | |
| w | back to summary |
|---|---|
| public float w The w coordinate. | |
| x | back to summary |
|---|---|
| public float x The x coordinate. | |
| y | back to summary |
|---|---|
| public float y The y coordinate. | |
| z | back to summary |
|---|---|
| public float z The z coordinate. | |
| Quat4f | back to summary |
|---|---|
| public Quat4f() Constructs and initializes a Quat4f to (0,0,0,0). | |
| Quat4f | back to summary |
|---|---|
| public Quat4f(float x, float y, float z, float w) Constructs and initializes a Quat4f from the specified xyzw coordinates.
| |
| Quat4f | back to summary |
|---|---|
| public Quat4f(float[] q) Constructs and initializes a Quat4f from the array of length 4.
| |
| Quat4f | back to summary |
|---|---|
| public Quat4f(Quat4f q1) Constructs and initializes a Quat4f from the specified Quat4f.
| |
| normalize | back to summary |
|---|---|
| public final void normalize() Normalizes the value of this quaternion in place. | |
| scale | back to summary |
|---|---|
| public final void scale(float s) Sets the value of this Quat4f to the scalar multiplication of the scale factor with this.
| |
| set | back to summary |
|---|---|
| public final void set(Matrix3f m1) Sets the value of this quaternion to the rotational component of the passed matrix.
| |
| set | back to summary |
|---|---|
| public final void set(float[][] m1) Sets the value of this quaternion to the rotational component of the passed float matrix.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a | |