Package | Description |
---|---|
org.lwjgl.util.vector |
Modifier and Type | Method and 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 one
|
static Quaternion |
Quaternion.negate(Quaternion src,
Quaternion dest)
Calculate the conjugate of this quaternion and put it into the given one
|
Quaternion |
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 destination
|
Quaternion |
Quaternion.set(ReadableVector4f src)
Load from another Vector4f
|
Quaternion |
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.
|
Modifier and Type | Method and Description |
---|---|
static float |
Quaternion.dot(Quaternion left,
Quaternion right)
The dot product of two quaternions
|
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 one
|
static Quaternion |
Quaternion.negate(Quaternion src,
Quaternion dest)
Calculate the conjugate of this quaternion and put it into the given one
|
Quaternion |
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 destination
|
static 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.
|
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.