Uses of Class
org.lwjgl.util.vector.Quaternion
-
Packages that use Quaternion Package Description org.lwjgl.util.vector -
-
Uses of Quaternion in org.lwjgl.util.vector
Methods in org.lwjgl.util.vector that return Quaternion Modifier and Type Method Description static Quaternion
Quaternion. mul(Quaternion left, Quaternion right, Quaternion dest)
Sets the value of this quaternion to the quaternion product of quaternions left and right (this = left * right).static Quaternion
Quaternion. mulInverse(Quaternion left, Quaternion right, Quaternion dest)
Multiplies quaternion left by the inverse of quaternion right and places the value into this quaternion.Quaternion
Quaternion. negate(Quaternion dest)
Calculate the conjugate of this quaternion and put it into the given onestatic Quaternion
Quaternion. negate(Quaternion src, Quaternion dest)
Calculate the conjugate of this quaternion and put it into the given oneQuaternion
Quaternion. normalise(Quaternion dest)
Normalise this quaternion and place the result in another quaternion.static Quaternion
Quaternion. normalise(Quaternion src, Quaternion dest)
Normalise the source quaternion and place the result in another quaternion.static Quaternion
Quaternion. scale(float scale, Quaternion src, Quaternion dest)
Scale the source quaternion by scale and put the result in the destinationQuaternion
Quaternion. set(ReadableVector4f src)
Load from another Vector4fQuaternion
Quaternion. setFromMatrix(Matrix3f m)
Sets the value of this quaternion using the rotational component of the passed matrix.static Quaternion
Quaternion. setFromMatrix(Matrix3f m, Quaternion q)
Sets the value of the source quaternion using the rotational component of the passed matrix.Quaternion
Quaternion. setFromMatrix(Matrix4f m)
Sets the value of this quaternion using the rotational component of the passed matrix.static Quaternion
Quaternion. setFromMatrix(Matrix4f m, Quaternion q)
Sets the value of the source quaternion using the rotational component of the passed matrix.Quaternion
Quaternion. setIdentity()
Set this quaternion to the multiplication identity.static Quaternion
Quaternion. setIdentity(Quaternion q)
Set the given quaternion to the multiplication identity.Methods in org.lwjgl.util.vector with parameters of type Quaternion Modifier and Type Method Description static float
Quaternion. dot(Quaternion left, Quaternion right)
The dot product of two quaternionsstatic Quaternion
Quaternion. mul(Quaternion left, Quaternion right, Quaternion dest)
Sets the value of this quaternion to the quaternion product of quaternions left and right (this = left * right).static Quaternion
Quaternion. mulInverse(Quaternion left, Quaternion right, Quaternion dest)
Multiplies quaternion left by the inverse of quaternion right and places the value into this quaternion.Quaternion
Quaternion. negate(Quaternion dest)
Calculate the conjugate of this quaternion and put it into the given onestatic Quaternion
Quaternion. negate(Quaternion src, Quaternion dest)
Calculate the conjugate of this quaternion and put it into the given oneQuaternion
Quaternion. normalise(Quaternion dest)
Normalise this quaternion and place the result in another quaternion.static Quaternion
Quaternion. normalise(Quaternion src, Quaternion dest)
Normalise the source quaternion and place the result in another quaternion.static Quaternion
Quaternion. scale(float scale, Quaternion src, Quaternion dest)
Scale the source quaternion by scale and put the result in the destinationstatic Quaternion
Quaternion. setFromMatrix(Matrix3f m, Quaternion q)
Sets the value of the source quaternion using the rotational component of the passed matrix.static Quaternion
Quaternion. setFromMatrix(Matrix4f m, Quaternion q)
Sets the value of the source quaternion using the rotational component of the passed matrix.static Quaternion
Quaternion. setIdentity(Quaternion q)
Set the given quaternion to the multiplication identity.
-