| Modifier and Type | Method and Description |
|---|---|
Quaternionf |
Quaternionf.add(Quaternionf q2)
Add
q2 to this quaternion. |
Quaternionf |
Quaternionf.add(Quaternionf q2,
Quaternionf dest)
Add
q2 to this quaternion and store the result in dest. |
Quaternionf |
Quaternionf.conjugate()
Conjugate this quaternion.
|
Quaternionf |
Quaternionf.conjugate(Quaternionf dest)
Conjugate this quaternion and store the result in
dest. |
Quaternionf |
Quaternionf.difference(Quaternionf other)
Compute the difference between
this and the other quaternion
and store the result in this. |
Quaternionf |
Quaternionf.difference(Quaternionf other,
Quaternionf dest)
Compute the difference between
this and the other quaternion
and store the result in dest. |
Quaternionf |
Quaternionf.div(Quaternionf b)
Divide
this quaternion by b. |
Quaternionf |
Quaternionf.div(Quaternionf b,
Quaternionf dest)
Divide
this quaternion by b and store the result in dest. |
Quaternionf |
Quaternionf.get(Quaternionf dest)
Set the given
Quaternionf to the values of this. |
Quaternionf |
Matrix4f.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix3f.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4f.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix3f.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Quaternionf.identity()
Set this quaternion to the identity.
|
Quaternionf |
Quaternionf.integrate(float dt,
float vx,
float vy,
float vz)
Integrate the rotation given by the angular velocity
(vx, vy, vz) around the x, y and z axis, respectively,
with respect to the given elapsed time delta dt and add the differentiate rotation to the rotation represented by this quaternion. |
Quaternionf |
Quaternionf.integrate(float dt,
float vx,
float vy,
float vz,
Quaternionf dest)
Integrate the rotation given by the angular velocity
(vx, vy, vz) around the x, y and z axis, respectively,
with respect to the given elapsed time delta dt and add the differentiate rotation to the rotation represented by this quaternion
and store the result into dest. |
Quaternionf |
Quaternionf.invert()
Invert this quaternion and
normalize it. |
Quaternionf |
Quaternionf.invert(Quaternionf dest)
Invert this quaternion and store the
normalized result in dest. |
Quaternionf |
Quaternionf.lookRotate(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis.
|
Quaternionf |
Quaternionf.lookRotate(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ,
Quaternionf dest)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in
dest. |
Quaternionf |
Quaternionf.lookRotate(Vector3f dir,
Vector3f up)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis.
|
Quaternionf |
Quaternionf.lookRotate(Vector3f dir,
Vector3f up,
Quaternionf dest)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in
dest. |
Quaternionf |
Quaternionf.mul(float qx,
float qy,
float qz,
float qw)
Multiply this quaternion by the quaternion represented via (qx, qy, qz, qw).
|
Quaternionf |
Quaternionf.mul(float qx,
float qy,
float qz,
float qw,
Quaternionf dest)
Multiply this quaternion by the quaternion represented via (qx, qy, qz, qw) and store the result in
dest. |
Quaternionf |
Quaternionf.mul(Quaternionf q)
Multiply this quaternion by
q. |
Quaternionf |
Quaternionf.mul(Quaternionf q,
Quaternionf dest)
Multiply this quaternion by
q and store the result in dest. |
Quaternionf |
Quaternionf.nlerp(Quaternionf q,
float factor)
Compute a linear (non-spherical) interpolation of
this and the given quaternion q
and store the result in this. |
Quaternionf |
Quaternionf.nlerp(Quaternionf q,
float factor,
Quaternionf dest)
Compute a linear (non-spherical) interpolation of
this and the given quaternion q
and store the result in dest. |
Quaternionf |
Quaternionf.nlerpIterative(Quaternionf q,
float alpha,
float dotThreshold,
Quaternionf dest)
Compute linear (non-spherical) interpolations of
this and the given quaternion q
iteratively and store the result in dest. |
Quaternionf |
Quaternionf.normalize()
Normalize this quaternion.
|
Quaternionf |
Quaternionf.normalize(Quaternionf dest)
Normalize this quaternion and store the result in
dest. |
Quaternionf |
Quaternionf.premul(float qx,
float qy,
float qz,
float qw)
Pre-multiply this quaternion by the quaternion represented via (qx, qy, qz, qw).
|
Quaternionf |
Quaternionf.premul(float qx,
float qy,
float qz,
float qw,
Quaternionf dest)
Pre-multiply this quaternion by the quaternion represented via (qx, qy, qz, qw) and store the result in
dest. |
Quaternionf |
Quaternionf.premul(Quaternionf q)
Pre-multiply this quaternion by
q. |
Quaternionf |
Quaternionf.premul(Quaternionf q,
Quaternionf dest)
Pre-multiply this quaternion by
q and store the result in dest. |
Quaternionf |
Quaternionf.rotate(float angleX,
float angleY,
float angleZ)
Apply a rotation to
this quaternion rotating the given radians about the basis unit axes of the cartesian space. |
Quaternionf |
Quaternionf.rotate(float angleX,
float angleY,
float angleZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the basis unit axes of the
cartesian space and store the result in dest. |
Quaternionf |
Quaternionf.rotateAxis(float angle,
float axisX,
float axisY,
float axisZ)
Apply a rotation to
this quaternion rotating the given radians about the specified axis. |
Quaternionf |
Quaternionf.rotateAxis(float angle,
float axisX,
float axisY,
float axisZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the specified axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateAxis(float angle,
Vector3f axis)
Apply a rotation to
this quaternion rotating the given radians about the specified axis. |
Quaternionf |
Quaternionf.rotateAxis(float angle,
Vector3f axis,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the specified axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateLocal(float angleX,
float angleY,
float angleZ)
Apply a rotation to
this quaternion rotating the given radians about the basis unit axes of the
local coordinate system represented by this quaternion. |
Quaternionf |
Quaternionf.rotateLocal(float angleX,
float angleY,
float angleZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the basis unit axes of the
local coordinate system represented by this quaternion and store the result in dest. |
Quaternionf |
Quaternionf.rotateLocalX(float angle)
Apply a rotation to
this quaternion rotating the given radians about the local x axis. |
Quaternionf |
Quaternionf.rotateLocalX(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the local x axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateLocalY(float angle)
Apply a rotation to
this quaternion rotating the given radians about the local y axis. |
Quaternionf |
Quaternionf.rotateLocalY(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the local y axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateLocalZ(float angle)
Apply a rotation to
this quaternion rotating the given radians about the local z axis. |
Quaternionf |
Quaternionf.rotateLocalZ(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the local z axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateTo(float fromDirX,
float fromDirY,
float fromDirZ,
float toDirX,
float toDirY,
float toDirZ)
Apply a rotation to
this that rotates the fromDir vector to point along toDir. |
Quaternionf |
Quaternionf.rotateTo(float fromDirX,
float fromDirY,
float fromDirZ,
float toDirX,
float toDirY,
float toDirZ,
Quaternionf dest)
Apply a rotation to
this that rotates the fromDir vector to point along toDir and
store the result in dest. |
Quaternionf |
Quaternionf.rotateTo(Vector3f fromDir,
Vector3f toDir)
Apply a rotation to
this that rotates the fromDir vector to point along toDir. |
Quaternionf |
Quaternionf.rotateTo(Vector3f fromDir,
Vector3f toDir,
Quaternionf dest)
Apply a rotation to
this that rotates the fromDir vector to point along toDir and
store the result in dest. |
Quaternionf |
Quaternionf.rotateX(float angle)
Apply a rotation to
this quaternion rotating the given radians about the x axis. |
Quaternionf |
Quaternionf.rotateX(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the x axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateXYZ(float angleX,
float angleY,
float angleZ)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles using rotation sequence XYZ. |
Quaternionf |
Quaternionf.rotateXYZ(float angleX,
float angleY,
float angleZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles using rotation sequence XYZ and store the result in dest. |
Quaternionf |
Quaternionf.rotateY(float angle)
Apply a rotation to
this quaternion rotating the given radians about the y axis. |
Quaternionf |
Quaternionf.rotateY(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the y axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateYXZ(float angleZ,
float angleY,
float angleX)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence YXZ. |
Quaternionf |
Quaternionf.rotateYXZ(float angleY,
float angleX,
float angleZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence YXZ and store the result in dest. |
Quaternionf |
Quaternionf.rotateZ(float angle)
Apply a rotation to
this quaternion rotating the given radians about the z axis. |
Quaternionf |
Quaternionf.rotateZ(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the z axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateZYX(float angleZ,
float angleY,
float angleX)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence ZYX. |
Quaternionf |
Quaternionf.rotateZYX(float angleZ,
float angleY,
float angleX,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence ZYX and store the result in dest. |
Quaternionf |
Quaternionf.rotation(float angleX,
float angleY,
float angleZ)
Set this quaternion to represent a rotation of the given angles in radians about the basis unit axes of the cartesian space.
|
Quaternionf |
Quaternionf.rotationAxis(float angle,
float axisX,
float axisY,
float axisZ)
Set this quaternion to a rotation of the given angle in radians about the supplied axis.
|
Quaternionf |
Quaternionf.rotationAxis(float angle,
Vector3f axis)
Set this quaternion to a rotation of the given angle in radians about the supplied axis.
|
Quaternionf |
Quaternionf.rotationTo(float fromDirX,
float fromDirY,
float fromDirZ,
float toDirX,
float toDirY,
float toDirZ)
Set
this quaternion to a rotation that rotates the fromDir vector to point along toDir. |
Quaternionf |
Quaternionf.rotationTo(Vector3f fromDir,
Vector3f toDir)
Set
this quaternion to a rotation that rotates the fromDir vector to point along toDir. |
Quaternionf |
Quaternionf.rotationX(float angle)
Set this quaternion to represent a rotation of the given radians about the x axis.
|
Quaternionf |
Quaternionf.rotationXYZ(float angleX,
float angleY,
float angleZ)
Set this quaternion from the supplied euler angles (in radians) with rotation order XYZ.
|
Quaternionf |
Quaternionf.rotationY(float angle)
Set this quaternion to represent a rotation of the given radians about the y axis.
|
Quaternionf |
Quaternionf.rotationYXZ(float angleY,
float angleX,
float angleZ)
Set this quaternion from the supplied euler angles (in radians) with rotation order YXZ.
|
Quaternionf |
Quaternionf.rotationZ(float angle)
Set this quaternion to represent a rotation of the given radians about the z axis.
|
Quaternionf |
Quaternionf.rotationZYX(float angleZ,
float angleY,
float angleX)
Set this quaternion from the supplied euler angles (in radians) with rotation order ZYX.
|
Quaternionf |
Quaternionf.scale(float factor)
Scale the rotation represented by this quaternion by the given
factor using sperical linear interpolation. |
Quaternionf |
Quaternionf.scale(float factor,
Quaternionf dest)
Scale the rotation represented by this quaternion by the given
factor using sperical linear interpolation, and store the result in dest. |
Quaternionf |
Quaternionf.set(float x,
float y,
float z)
Set the x, y and z components of this quaternion to the given values.
|
Quaternionf |
Quaternionf.set(float x,
float y,
float z,
float w)
Set this quaternion to the given values.
|
Quaternionf |
Quaternionf.set(Quaternionf q)
Set this quaternion to be a copy of q.
|
Quaternionf |
Quaternionf.setAngleAxis(double angle,
double x,
double y,
double z)
Set this quaternion to a rotation equivalent to the supplied axis and
angle (in radians).
|
Quaternionf |
Quaternionf.setAngleAxis(float angle,
float x,
float y,
float z)
Set this quaternion to a rotation equivalent to the supplied axis and
angle (in radians).
|
Quaternionf |
Quaternionf.setFromNormalized(Matrix3f mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromNormalized(Matrix4f mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix3f mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix4f mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.slerp(Quaternionf target,
float alpha)
Interpolate between
this quaternion and the specified
target using sperical linear interpolation using the specified interpolation factor alpha. |
Quaternionf |
Quaternionf.slerp(Quaternionf target,
float alpha,
Quaternionf dest)
Interpolate between
this quaternion and the specified
target using sperical linear interpolation using the specified interpolation factor alpha,
and store the result in dest. |
| Modifier and Type | Method and Description |
|---|---|
Quaternionf |
Quaternionf.add(Quaternionf q2)
Add
q2 to this quaternion. |
Quaternionf |
Quaternionf.add(Quaternionf q2,
Quaternionf dest)
Add
q2 to this quaternion and store the result in dest. |
Quaternionf |
Quaternionf.conjugate(Quaternionf dest)
Conjugate this quaternion and store the result in
dest. |
Quaternionf |
Quaternionf.difference(Quaternionf other)
Compute the difference between
this and the other quaternion
and store the result in this. |
Quaternionf |
Quaternionf.difference(Quaternionf other,
Quaternionf dest)
Compute the difference between
this and the other quaternion
and store the result in dest. |
Quaternionf |
Quaternionf.div(Quaternionf b)
Divide
this quaternion by b. |
Quaternionf |
Quaternionf.div(Quaternionf b,
Quaternionf dest)
Divide
this quaternion by b and store the result in dest. |
float |
Quaternionf.dot(Quaternionf otherQuat)
Return the dot of this quaternion and
otherQuat. |
Quaternionf |
Quaternionf.get(Quaternionf dest)
Set the given
Quaternionf to the values of this. |
Quaternionf |
Matrix4f.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix3f.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4f.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix3f.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Quaternionf.integrate(float dt,
float vx,
float vy,
float vz,
Quaternionf dest)
Integrate the rotation given by the angular velocity
(vx, vy, vz) around the x, y and z axis, respectively,
with respect to the given elapsed time delta dt and add the differentiate rotation to the rotation represented by this quaternion
and store the result into dest. |
Quaternionf |
Quaternionf.invert(Quaternionf dest)
Invert this quaternion and store the
normalized result in dest. |
Quaternionf |
Quaternionf.lookRotate(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ,
Quaternionf dest)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in
dest. |
Quaternionf |
Quaternionf.lookRotate(Vector3f dir,
Vector3f up,
Quaternionf dest)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in
dest. |
Quaternionf |
Quaternionf.mul(float qx,
float qy,
float qz,
float qw,
Quaternionf dest)
Multiply this quaternion by the quaternion represented via (qx, qy, qz, qw) and store the result in
dest. |
Quaternionf |
Quaternionf.mul(Quaternionf q)
Multiply this quaternion by
q. |
Quaternionf |
Quaternionf.mul(Quaternionf q,
Quaternionf dest)
Multiply this quaternion by
q and store the result in dest. |
Quaternionf |
Quaternionf.nlerp(Quaternionf q,
float factor)
Compute a linear (non-spherical) interpolation of
this and the given quaternion q
and store the result in this. |
Quaternionf |
Quaternionf.nlerp(Quaternionf q,
float factor,
Quaternionf dest)
Compute a linear (non-spherical) interpolation of
this and the given quaternion q
and store the result in dest. |
Quaternionf |
Quaternionf.nlerpIterative(Quaternionf q,
float alpha,
float dotThreshold,
Quaternionf dest)
Compute linear (non-spherical) interpolations of
this and the given quaternion q
iteratively and store the result in dest. |
Quaternionf |
Quaternionf.normalize(Quaternionf dest)
Normalize this quaternion and store the result in
dest. |
Quaternionf |
Quaternionf.premul(float qx,
float qy,
float qz,
float qw,
Quaternionf dest)
Pre-multiply this quaternion by the quaternion represented via (qx, qy, qz, qw) and store the result in
dest. |
Quaternionf |
Quaternionf.premul(Quaternionf q)
Pre-multiply this quaternion by
q. |
Quaternionf |
Quaternionf.premul(Quaternionf q,
Quaternionf dest)
Pre-multiply this quaternion by
q and store the result in dest. |
Matrix4f |
Matrix4f.reflect(Quaternionf orientation,
Vector3f point)
Apply a mirror/reflection transformation to this matrix that reflects about a plane
specified via the plane orientation and a point on the plane.
|
Matrix4f |
Matrix4f.reflect(Quaternionf orientation,
Vector3f point,
Matrix4f dest)
Apply a mirror/reflection transformation to this matrix that reflects about a plane
specified via the plane orientation and a point on the plane, and store the result in
dest. |
Matrix4f |
Matrix4f.reflection(Quaternionf orientation,
Vector3f point)
Set this matrix to a mirror/reflection transformation that reflects about a plane
specified via the plane orientation and a point on the plane.
|
Quaternionf |
Quaternionf.rotate(float angleX,
float angleY,
float angleZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the basis unit axes of the
cartesian space and store the result in dest. |
Vector4f |
Vector4f.rotate(Quaternionf quat)
Rotate this vector by the given quaternion
quat and store the result in this. |
Vector3f |
Vector3f.rotate(Quaternionf quat)
Rotate this vector by the given quaternion
quat and store the result in this. |
Matrix4f |
Matrix4f.rotate(Quaternionf quat)
Apply the rotation transformation of the given
Quaternionf to this matrix. |
Matrix3f |
Matrix3f.rotate(Quaternionf quat)
Apply the rotation transformation of the given
Quaternionf to this matrix. |
Matrix3f |
Matrix3f.rotate(Quaternionf quat,
Matrix3f dest)
Apply the rotation transformation of the given
Quaternionf to this matrix and store
the result in dest. |
Matrix4f |
Matrix4f.rotate(Quaternionf quat,
Matrix4f dest)
Apply the rotation transformation of the given
Quaternionf to this matrix and store
the result in dest. |
Vector3f |
Vector3f.rotate(Quaternionf quat,
Vector3f dest)
Rotate this vector by the given quaternion
quat and store the result in dest. |
Vector4f |
Vector4f.rotate(Quaternionf quat,
Vector4f dest)
Rotate this vector by the given quaternion
quat and store the result in dest. |
Matrix4f |
Matrix4f.rotateAffine(Quaternionf quat)
Apply the rotation transformation of the given
Quaternionf to this matrix. |
Matrix4f |
Matrix4f.rotateAffine(Quaternionf quat,
Matrix4f dest)
Apply the rotation transformation of the given
Quaternionf to this affine matrix and store
the result in dest. |
Matrix4f |
Matrix4f.rotateAffineLocal(Quaternionf quat)
Pre-multiply the rotation transformation of the given
Quaternionf to this matrix. |
Matrix4f |
Matrix4f.rotateAffineLocal(Quaternionf quat,
Matrix4f dest)
Pre-multiply the rotation transformation of the given
Quaternionf to this affine matrix and store
the result in dest. |
Quaternionf |
Quaternionf.rotateAxis(float angle,
float axisX,
float axisY,
float axisZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the specified axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateAxis(float angle,
Vector3f axis,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the specified axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateLocal(float angleX,
float angleY,
float angleZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the basis unit axes of the
local coordinate system represented by this quaternion and store the result in dest. |
Matrix3f |
Matrix3f.rotateLocal(Quaternionf quat)
Pre-multiply the rotation transformation of the given
Quaternionf to this matrix. |
Matrix3f |
Matrix3f.rotateLocal(Quaternionf quat,
Matrix3f dest)
Pre-multiply the rotation transformation of the given
Quaternionf to this matrix and store
the result in dest. |
Quaternionf |
Quaternionf.rotateLocalX(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the local x axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateLocalY(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the local y axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateLocalZ(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the local z axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateTo(float fromDirX,
float fromDirY,
float fromDirZ,
float toDirX,
float toDirY,
float toDirZ,
Quaternionf dest)
Apply a rotation to
this that rotates the fromDir vector to point along toDir and
store the result in dest. |
Quaternionf |
Quaternionf.rotateTo(Vector3f fromDir,
Vector3f toDir,
Quaternionf dest)
Apply a rotation to
this that rotates the fromDir vector to point along toDir and
store the result in dest. |
Quaternionf |
Quaternionf.rotateX(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the x axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateXYZ(float angleX,
float angleY,
float angleZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles using rotation sequence XYZ and store the result in dest. |
Quaternionf |
Quaternionf.rotateY(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the y axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateYXZ(float angleY,
float angleX,
float angleZ,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence YXZ and store the result in dest. |
Quaternionf |
Quaternionf.rotateZ(float angle,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the z axis
and store the result in dest. |
Quaternionf |
Quaternionf.rotateZYX(float angleZ,
float angleY,
float angleX,
Quaternionf dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence ZYX and store the result in dest. |
Matrix4f |
Matrix4f.rotation(Quaternionf quat)
Set this matrix to the rotation transformation of the given
Quaternionf. |
Matrix3f |
Matrix3f.rotation(Quaternionf quat)
Set this matrix to the rotation transformation of the given
Quaternionf. |
Quaternionf |
Quaternionf.scale(float factor,
Quaternionf dest)
Scale the rotation represented by this quaternion by the given
factor using sperical linear interpolation, and store the result in dest. |
Quaternionf |
Quaternionf.set(Quaternionf q)
Set this quaternion to be a copy of q.
|
Matrix4f |
Matrix4f.set(Quaternionf q)
Set this matrix to be equivalent to the rotation specified by the given
Quaternionf. |
Matrix3f |
Matrix3f.set(Quaternionf q)
Set this matrix to be equivalent to the rotation specified by the given
Quaternionf. |
Quaternionf |
Quaternionf.slerp(Quaternionf target,
float alpha)
Interpolate between
this quaternion and the specified
target using sperical linear interpolation using the specified interpolation factor alpha. |
Quaternionf |
Quaternionf.slerp(Quaternionf target,
float alpha,
Quaternionf dest)
Interpolate between
this quaternion and the specified
target using sperical linear interpolation using the specified interpolation factor alpha,
and store the result in dest. |
Matrix4f |
Matrix4f.translationRotate(float tx,
float ty,
float tz,
Quaternionf quat)
Set
this matrix to T * R, where T is a translation by the given (tx, ty, tz) and
R is a rotation transformation specified by the given quaternion. |
Matrix4f |
Matrix4f.translationRotateScale(Vector3f translation,
Quaternionf quat,
Vector3f scale)
Set
this matrix to T * R * S, where T is the given translation,
R is a rotation transformation specified by the given quaternion, and S is a scaling transformation
which scales the axes by scale. |
Matrix4f |
Matrix4f.translationRotateScaleMulAffine(Vector3f translation,
Quaternionf quat,
Vector3f scale,
Matrix4f m)
Set
this matrix to T * R * S * M, where T is the given translation,
R is a rotation transformation specified by the given quaternion, S is a scaling transformation
which scales the axes by scale and M is an affine matrix. |
| Constructor and Description |
|---|
Quaternionf(Quaternionf source)
Create a new
Quaternionf and initialize its components to the same values as the given Quaternionf. |
Copyright © 2015–2016 JOML. All rights reserved.