| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final double | |
| pack-priv static final double | |
| pack-priv static final double | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| 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 | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | |
| public final void | interpolate(Quat4f
the other quaternion q1, float the alpha interpolation parameter alpha)Performs a great circle interpolation between this quaternion and the quaternion parameter and places the result into this quaternion. |
| public final void | interpolate(Quat4f
the first quaternion q1, Quat4f the second quaternion q2, float the alpha interpolation parameter alpha)Performs a great circle interpolation between quaternion q1 and quaternion q2 and places the result into this quaternion. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | mulInverse(Quat4f
the first quaternion q1, Quat4f the second quaternion q2)Multiplies quaternion q1 by the inverse of quaternion q2 and places the value into this quaternion. |
| public final void | mulInverse(Quat4f
the other quaternion q1)Multiplies this quaternion by the inverse of quaternion q1 and places the value into this quaternion. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | set(AxisAngle4f
the AxisAngle to be emulated a)Sets the value of this quaternion to the equivalent rotation of the AxisAngle argument. |
| public final void | set(AxisAngle4d
the AxisAngle to be emulated a)Sets the value of this quaternion to the equivalent rotation of the AxisAngle argument. |
| EPS | back to summary |
|---|---|
| pack-priv static final double EPS | |
| EPS2 | back to summary |
|---|---|
| pack-priv static final double EPS2 | |
| PIO2 | back to summary |
|---|---|
| pack-priv static final double PIO2 | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| 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.
| |
| Quat4f | back to summary |
|---|---|
| public Quat4f(Quat4d q1) Constructs and initializes a Quat4f from the specified Quat4d.
| |
| Quat4f | back to summary |
|---|---|
| public Quat4f(Tuple4f t1) Constructs and initializes a Quat4f from the specified Tuple4f.
| |
| Quat4f | back to summary |
|---|---|
| public Quat4f(Tuple4d t1) Constructs and initializes a Quat4f from the specified Tuple4d.
| |
| Quat4f | back to summary |
|---|---|
| public Quat4f() Constructs and initializes a Quat4f to (0.0,0.0,0.0,0.0). | |
| conjugate | back to summary |
|---|---|
| public final void conjugate(Quat4f q1) Sets the value of this quaternion to the conjugate of quaternion q1.
| |
| conjugate | back to summary |
|---|---|
| public final void conjugate() Sets the value of this quaternion to the conjugate of itself. | |
| interpolate | back to summary |
|---|---|
| public final void interpolate(Quat4f q1, float alpha) Performs a great circle interpolation between this quaternion and the quaternion parameter and places the result into this quaternion.
| |
| interpolate | back to summary |
|---|---|
| public final void interpolate(Quat4f q1, Quat4f q2, float alpha) Performs a great circle interpolation between quaternion q1 and quaternion q2 and places the result into this quaternion. | |
| inverse | back to summary |
|---|---|
| public final void inverse(Quat4f q1) Sets the value of this quaternion to quaternion inverse of quaternion q1.
| |
| inverse | back to summary |
|---|---|
| public final void inverse() Sets the value of this quaternion to the quaternion inverse of itself. | |
| mul | back to summary |
|---|---|
| public final void mul(Quat4f q1, Quat4f q2) Sets the value of this quaternion to the quaternion product of quaternions q1 and q2 (this = q1 * q2). Note that this is safe for aliasing (e.g. this can be q1 or q2). | |
| mul | back to summary |
|---|---|
| public final void mul(Quat4f q1) Sets the value of this quaternion to the quaternion product of itself and q1 (this = this * q1).
| |
| mulInverse | back to summary |
|---|---|
| public final void mulInverse(Quat4f q1, Quat4f q2) Multiplies quaternion q1 by the inverse of quaternion q2 and places the value into this quaternion. The value of both argument quaternions is preservered (this = q1 * q2^-1). | |
| mulInverse | back to summary |
|---|---|
| public final void mulInverse(Quat4f q1) Multiplies this quaternion by the inverse of quaternion q1 and places the value into this quaternion. The value of the argument quaternion is preserved (this = this * q^-1).
| |
| normalize | back to summary |
|---|---|
| public final void normalize(Quat4f q1) Sets the value of this quaternion to the normalized value of quaternion q1.
| |
| normalize | back to summary |
|---|---|
| public final void normalize() Normalizes the value of this quaternion in place. | |
| set | back to summary |
|---|---|
| public final void set(Matrix4f m1) Sets the value of this quaternion to the rotational component of the passed matrix.
| |
| set | back to summary |
|---|---|
| public final void set(Matrix4d m1) Sets the value of this quaternion to the rotational component of the passed matrix.
| |
| 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(Matrix3d m1) Sets the value of this quaternion to the rotational component of the passed matrix.
| |
| set | back to summary |
|---|---|
| public final void set(AxisAngle4f a) Sets the value of this quaternion to the equivalent rotation of the AxisAngle argument.
| |
| set | back to summary |
|---|---|
| public final void set(AxisAngle4d a) Sets the value of this quaternion to the equivalent rotation of the AxisAngle argument.
| |