| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| org.joml.internal |
Contains internal classes.
|
| Modifier and Type | Method and Description |
|---|---|
Quaternionf |
Quaternionf.add(float x,
float y,
float z,
float w)
Add the quaternion
(x, y, z, w) to this quaternion. |
Quaternionf |
Quaternionfc.add(float x,
float y,
float z,
float w,
Quaternionf dest)
Add the quaternion
(x, y, z, w) to this quaternion and store the result in dest. |
Quaternionf |
Quaternionf.add(float x,
float y,
float z,
float w,
Quaternionf dest) |
Quaternionf |
Quaternionf.add(Quaternionfc q2)
Add
q2 to this quaternion. |
Quaternionf |
Quaternionfc.add(Quaternionfc q2,
Quaternionf dest)
Add
q2 to this quaternion and store the result in dest. |
Quaternionf |
Quaternionf.add(Quaternionfc q2,
Quaternionf dest) |
Quaternionf |
QuaternionfInterpolator.computeWeightedAverage(Quaternionfc[] qs,
float[] weights,
int maxSvdIterations,
Quaternionf dest)
Compute the weighted average of all of the quaternions given in
qs using the specified interpolation factors weights, and store the result in dest. |
Quaternionf |
Quaternionf.conjugate()
Conjugate this quaternion.
|
Quaternionf |
Quaternionfc.conjugate(Quaternionf dest)
Conjugate this quaternion and store the result in
dest. |
Quaternionf |
Quaternionf.conjugate(Quaternionf dest) |
Quaternionf |
Quaternionf.difference(Quaternionf other)
Compute the difference between
this and the other quaternion
and store the result in this. |
Quaternionf |
Quaternionfc.difference(Quaternionf other,
Quaternionf dest)
Compute the difference between
this and the other quaternion
and store the result in dest. |
Quaternionf |
Quaternionf.difference(Quaternionf other,
Quaternionf dest) |
Quaternionf |
Quaternionf.div(Quaternionfc b)
Divide
this quaternion by b. |
Quaternionf |
Quaternionfc.div(Quaternionfc b,
Quaternionf dest)
Divide
this quaternion by b and store the result in dest. |
Quaternionf |
Quaternionf.div(Quaternionfc b,
Quaternionf dest) |
Quaternionf |
Quaternionf.fromAxisAngleDeg(float axisX,
float axisY,
float axisZ,
float angle)
Set this quaternion to be a representation of the supplied axis and
angle (in degrees).
|
Quaternionf |
Quaternionf.fromAxisAngleDeg(Vector3fc axis,
float angle)
Set this quaternion to be a representation of the supplied axis and
angle (in degrees).
|
Quaternionf |
Quaternionf.fromAxisAngleRad(float axisX,
float axisY,
float axisZ,
float angle)
Set this quaternion to be a representation of the supplied axis and
angle (in radians).
|
Quaternionf |
Quaternionf.fromAxisAngleRad(Vector3fc axis,
float angle)
Set this quaternion to be a representation of the supplied axis and
angle (in radians).
|
Quaternionf |
Quaternionfc.get(Quaternionf dest)
Set the given
Quaternionf to the values of this. |
Quaternionf |
AxisAngle4f.get(Quaternionf q)
Set the given
Quaternionf to be equivalent to this AxisAngle4f rotation. |
Quaternionf |
AxisAngle4d.get(Quaternionf q)
Set the given
Quaternionf to be equivalent to this AxisAngle4d rotation. |
Quaternionf |
Quaternionf.get(Quaternionf dest)
Set the given
Quaternionf to the values of this. |
Quaternionf |
Matrix4x3dc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4fc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3d.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3d.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4dc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4f.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3f.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4d.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3fc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3fc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix3dc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3f.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4x3dc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4fc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3d.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3d.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4dc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4f.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3f.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4d.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3fc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3fc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix3dc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3f.getUnnormalizedRotation(Quaternionf dest) |
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 |
Quaternionfc.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.integrate(float dt,
float vx,
float vy,
float vz,
Quaternionf dest) |
Quaternionf |
Quaternionf.invert()
Invert this quaternion and
normalize it. |
Quaternionf |
Quaternionfc.invert(Quaternionf dest)
Invert this quaternion and store the
normalized result in dest. |
Quaternionf |
Quaternionf.invert(Quaternionf dest) |
Quaternionf |
Quaternionf.lookAlong(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 |
Quaternionfc.lookAlong(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.lookAlong(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ,
Quaternionf dest) |
Quaternionf |
Quaternionf.lookAlong(Vector3fc dir,
Vector3fc up)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis.
|
Quaternionf |
Quaternionfc.lookAlong(Vector3fc dir,
Vector3fc 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.lookAlong(Vector3fc dir,
Vector3fc up,
Quaternionf 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 |
Quaternionfc.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(float qx,
float qy,
float qz,
float qw,
Quaternionf dest) |
Quaternionf |
Quaternionf.mul(Quaternionfc q)
Multiply this quaternion by
q. |
Quaternionf |
Quaternionfc.mul(Quaternionfc q,
Quaternionf dest)
Multiply this quaternion by
q and store the result in dest. |
Quaternionf |
Quaternionf.mul(Quaternionfc q,
Quaternionf dest) |
Quaternionf |
Quaternionf.nlerp(Quaternionfc q,
float factor)
Compute a linear (non-spherical) interpolation of
this and the given quaternion q
and store the result in this. |
Quaternionf |
Quaternionfc.nlerp(Quaternionfc 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.nlerp(Quaternionfc q,
float factor,
Quaternionf dest) |
Quaternionf |
Quaternionf.nlerpIterative(Quaternionfc q,
float alpha,
float dotThreshold)
Compute linear (non-spherical) interpolations of
this and the given quaternion q
iteratively and store the result in this. |
Quaternionf |
Quaternionfc.nlerpIterative(Quaternionfc 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.nlerpIterative(Quaternionfc q,
float alpha,
float dotThreshold,
Quaternionf dest) |
Quaternionf |
Quaternionf.normalize()
Normalize this quaternion.
|
Quaternionf |
Quaternionfc.normalize(Quaternionf dest)
Normalize this quaternion and store the result in
dest. |
Quaternionf |
Quaternionf.normalize(Quaternionf 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 |
Quaternionfc.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(float qx,
float qy,
float qz,
float qw,
Quaternionf dest) |
Quaternionf |
Quaternionf.premul(Quaternionfc q)
Pre-multiply this quaternion by
q. |
Quaternionf |
Quaternionfc.premul(Quaternionfc q,
Quaternionf dest)
Pre-multiply this quaternion by
q and store the result in dest. |
Quaternionf |
Quaternionf.premul(Quaternionfc q,
Quaternionf 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 |
Quaternionfc.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,
float axisX,
float axisY,
float axisZ,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotateAxis(float angle,
Vector3fc axis)
Apply a rotation to
this quaternion rotating the given radians about the specified axis. |
Quaternionf |
Quaternionfc.rotateAxis(float angle,
Vector3fc 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.rotateAxis(float angle,
Vector3fc axis,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotateLocalX(float angle)
Apply a rotation to
this quaternion rotating the given radians about the local x axis. |
Quaternionf |
Quaternionfc.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.rotateLocalX(float angle,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotateLocalY(float angle)
Apply a rotation to
this quaternion rotating the given radians about the local y axis. |
Quaternionf |
Quaternionfc.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.rotateLocalY(float angle,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotateLocalZ(float angle)
Apply a rotation to
this quaternion rotating the given radians about the local z axis. |
Quaternionf |
Quaternionfc.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.rotateLocalZ(float angle,
Quaternionf 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 |
Quaternionfc.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(float fromDirX,
float fromDirY,
float fromDirZ,
float toDirX,
float toDirY,
float toDirZ,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotateTo(Vector3fc fromDir,
Vector3fc toDir)
Apply a rotation to
this that rotates the fromDir vector to point along toDir. |
Quaternionf |
Quaternionfc.rotateTo(Vector3fc fromDir,
Vector3fc 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.rotateTo(Vector3fc fromDir,
Vector3fc toDir,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotateX(float angle)
Apply a rotation to
this quaternion rotating the given radians about the x axis. |
Quaternionf |
Quaternionfc.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.rotateX(float angle,
Quaternionf 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 |
Quaternionfc.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.rotateXYZ(float angleX,
float angleY,
float angleZ,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotateY(float angle)
Apply a rotation to
this quaternion rotating the given radians about the y axis. |
Quaternionf |
Quaternionfc.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.rotateY(float angle,
Quaternionf 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 |
Quaternionfc.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.rotateYXZ(float angleY,
float angleX,
float angleZ,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotateZ(float angle)
Apply a rotation to
this quaternion rotating the given radians about the z axis. |
Quaternionf |
Quaternionfc.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.rotateZ(float angle,
Quaternionf 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 |
Quaternionfc.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.rotateZYX(float angleZ,
float angleY,
float angleX,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotationAxis(AxisAngle4f axisAngle)
Set this
Quaternionf to a rotation of the given angle in radians about the supplied
axis, all of which are specified via the AxisAngle4f. |
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,
Vector3fc 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 |
Vector3fc.rotationTo(float toDirX,
float toDirY,
float toDirZ,
Quaternionf dest)
Compute the quaternion representing a rotation of
this vector to point along (toDirX, toDirY, toDirZ)
and store the result in dest. |
Quaternionf |
Vector3f.rotationTo(float toDirX,
float toDirY,
float toDirZ,
Quaternionf dest) |
Quaternionf |
Vector3fc.rotationTo(Vector3fc toDir,
Quaternionf dest)
Compute the quaternion representing a rotation of
this vector to point along toDir
and store the result in dest. |
Quaternionf |
Vector3f.rotationTo(Vector3fc toDir,
Quaternionf dest) |
Quaternionf |
Quaternionf.rotationTo(Vector3fc fromDir,
Vector3fc 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)
Apply scaling to this quaternion, which results in any vector transformed by this quaternion to change
its length by the given
factor. |
Quaternionf |
Quaternionfc.scale(float factor,
Quaternionf dest)
Apply scaling to this quaternion, which results in any vector transformed by the quaternion to change
its length by the given
factor, and store the result in dest. |
Quaternionf |
Quaternionf.scale(float factor,
Quaternionf dest) |
Quaternionf |
Quaternionf.scaling(float factor)
Set this quaternion to represent scaling, which results in a transformed vector to change
its length by the given
factor. |
Quaternionf |
Quaternionf.set(AxisAngle4d axisAngle)
Set this quaternion to a rotation equivalent to the given
AxisAngle4d. |
Quaternionf |
Quaternionf.set(AxisAngle4f axisAngle)
Set this quaternion to a rotation equivalent to the given
AxisAngle4f. |
Quaternionf |
Quaternionf.set(float x,
float y,
float z,
float w)
Set this quaternion to the given values.
|
Quaternionf |
Quaternionf.set(Quaternionfc 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(Matrix3dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromNormalized(Matrix3fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromNormalized(Matrix4dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromNormalized(Matrix4fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromNormalized(Matrix4x3dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromNormalized(Matrix4x3fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix3dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix3fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix4dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix4fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix4x3dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix4x3fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.slerp(Quaternionfc target,
float alpha)
|
Quaternionf |
Quaternionfc.slerp(Quaternionfc target,
float alpha,
Quaternionf dest)
|
Quaternionf |
Quaternionf.slerp(Quaternionfc target,
float alpha,
Quaternionf dest) |
| Modifier and Type | Method and Description |
|---|---|
Quaternionf |
Quaternionfc.add(float x,
float y,
float z,
float w,
Quaternionf dest)
Add the quaternion
(x, y, z, w) to this quaternion and store the result in dest. |
Quaternionf |
Quaternionf.add(float x,
float y,
float z,
float w,
Quaternionf dest) |
Quaternionf |
Quaternionfc.add(Quaternionfc q2,
Quaternionf dest)
Add
q2 to this quaternion and store the result in dest. |
Quaternionf |
Quaternionf.add(Quaternionfc q2,
Quaternionf dest) |
Quaternionf |
QuaternionfInterpolator.computeWeightedAverage(Quaternionfc[] qs,
float[] weights,
int maxSvdIterations,
Quaternionf dest)
Compute the weighted average of all of the quaternions given in
qs using the specified interpolation factors weights, and store the result in dest. |
Quaternionf |
Quaternionfc.conjugate(Quaternionf dest)
Conjugate this quaternion and store the result in
dest. |
Quaternionf |
Quaternionf.conjugate(Quaternionf dest) |
Quaternionf |
Quaternionf.difference(Quaternionf other)
Compute the difference between
this and the other quaternion
and store the result in this. |
Quaternionf |
Quaternionfc.difference(Quaternionf other,
Quaternionf dest)
Compute the difference between
this and the other quaternion
and store the result in dest. |
Quaternionf |
Quaternionf.difference(Quaternionf other,
Quaternionf dest) |
Quaternionf |
Quaternionfc.div(Quaternionfc b,
Quaternionf dest)
Divide
this quaternion by b and store the result in dest. |
Quaternionf |
Quaternionf.div(Quaternionfc b,
Quaternionf dest) |
float |
Quaternionf.dot(Quaternionf otherQuat)
Return the dot of this quaternion and
otherQuat. |
Quaternionf |
Quaternionfc.get(Quaternionf dest)
Set the given
Quaternionf to the values of this. |
Quaternionf |
AxisAngle4f.get(Quaternionf q)
Set the given
Quaternionf to be equivalent to this AxisAngle4f rotation. |
Quaternionf |
AxisAngle4d.get(Quaternionf q)
Set the given
Quaternionf to be equivalent to this AxisAngle4d rotation. |
Quaternionf |
Quaternionf.get(Quaternionf dest)
Set the given
Quaternionf to the values of this. |
Quaternionf |
Matrix4x3dc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4fc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3d.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3d.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4dc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4f.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3f.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4d.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3fc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3fc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix3dc.getNormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3f.getNormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4x3dc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4fc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3d.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3d.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4dc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4f.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3f.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix4d.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Matrix3fc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3fc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix3dc.getUnnormalizedRotation(Quaternionf dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaternionf. |
Quaternionf |
Matrix4x3f.getUnnormalizedRotation(Quaternionf dest) |
Quaternionf |
Quaternionfc.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.integrate(float dt,
float vx,
float vy,
float vz,
Quaternionf dest) |
Quaternionf |
Quaternionfc.invert(Quaternionf dest)
Invert this quaternion and store the
normalized result in dest. |
Quaternionf |
Quaternionf.invert(Quaternionf dest) |
Quaternionf |
Quaternionfc.lookAlong(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.lookAlong(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ,
Quaternionf dest) |
Quaternionf |
Quaternionfc.lookAlong(Vector3fc dir,
Vector3fc 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.lookAlong(Vector3fc dir,
Vector3fc up,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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(float qx,
float qy,
float qz,
float qw,
Quaternionf dest) |
Quaternionf |
Quaternionfc.mul(Quaternionfc q,
Quaternionf dest)
Multiply this quaternion by
q and store the result in dest. |
Quaternionf |
Quaternionf.mul(Quaternionfc q,
Quaternionf dest) |
static Quaternionfc |
Quaternionf.nlerp(Quaternionfc[] qs,
float[] weights,
Quaternionf dest)
Interpolate between all of the quaternions given in
qs via non-spherical linear interpolation using the
specified interpolation factors weights, and store the result in dest. |
Quaternionf |
Quaternionfc.nlerp(Quaternionfc 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.nlerp(Quaternionfc q,
float factor,
Quaternionf dest) |
static Quaternionfc |
Quaternionf.nlerpIterative(Quaternionf[] qs,
float[] weights,
float dotThreshold,
Quaternionf dest)
Interpolate between all of the quaternions given in
qs via iterative non-spherical linear interpolation using the
specified interpolation factors weights, and store the result in dest. |
static Quaternionfc |
Quaternionf.nlerpIterative(Quaternionf[] qs,
float[] weights,
float dotThreshold,
Quaternionf dest)
Interpolate between all of the quaternions given in
qs via iterative non-spherical linear interpolation using the
specified interpolation factors weights, and store the result in dest. |
Quaternionf |
Quaternionfc.nlerpIterative(Quaternionfc 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.nlerpIterative(Quaternionfc q,
float alpha,
float dotThreshold,
Quaternionf dest) |
Quaternionf |
Quaternionfc.normalize(Quaternionf dest)
Normalize this quaternion and store the result in
dest. |
Quaternionf |
Quaternionf.normalize(Quaternionf dest) |
Quaternionf |
Quaternionfc.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(float qx,
float qy,
float qz,
float qw,
Quaternionf dest) |
Quaternionf |
Quaternionfc.premul(Quaternionfc q,
Quaternionf dest)
Pre-multiply this quaternion by
q and store the result in dest. |
Quaternionf |
Quaternionf.premul(Quaternionfc q,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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,
float axisX,
float axisY,
float axisZ,
Quaternionf dest) |
Quaternionf |
Quaternionfc.rotateAxis(float angle,
Vector3fc 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.rotateAxis(float angle,
Vector3fc axis,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateLocalX(float angle,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateLocalY(float angle,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateLocalZ(float angle,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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(float fromDirX,
float fromDirY,
float fromDirZ,
float toDirX,
float toDirY,
float toDirZ,
Quaternionf dest) |
Quaternionf |
Quaternionfc.rotateTo(Vector3fc fromDir,
Vector3fc 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.rotateTo(Vector3fc fromDir,
Vector3fc toDir,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateX(float angle,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateXYZ(float angleX,
float angleY,
float angleZ,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateY(float angle,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateYXZ(float angleY,
float angleX,
float angleZ,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateZ(float angle,
Quaternionf dest) |
Quaternionf |
Quaternionfc.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.rotateZYX(float angleZ,
float angleY,
float angleX,
Quaternionf dest) |
Quaternionf |
Vector3fc.rotationTo(float toDirX,
float toDirY,
float toDirZ,
Quaternionf dest)
Compute the quaternion representing a rotation of
this vector to point along (toDirX, toDirY, toDirZ)
and store the result in dest. |
Quaternionf |
Vector3f.rotationTo(float toDirX,
float toDirY,
float toDirZ,
Quaternionf dest) |
Quaternionf |
Vector3fc.rotationTo(Vector3fc toDir,
Quaternionf dest)
Compute the quaternion representing a rotation of
this vector to point along toDir
and store the result in dest. |
Quaternionf |
Vector3f.rotationTo(Vector3fc toDir,
Quaternionf dest) |
Quaternionf |
Quaternionfc.scale(float factor,
Quaternionf dest)
Apply scaling to this quaternion, which results in any vector transformed by the quaternion to change
its length by the given
factor, and store the result in dest. |
Quaternionf |
Quaternionf.scale(float factor,
Quaternionf dest) |
static Quaternionfc |
Quaternionf.slerp(Quaternionf[] qs,
float[] weights,
Quaternionf dest)
Interpolate between all of the quaternions given in
qs via spherical linear interpolation using the specified interpolation factors weights,
and store the result in dest. |
static Quaternionfc |
Quaternionf.slerp(Quaternionf[] qs,
float[] weights,
Quaternionf dest)
Interpolate between all of the quaternions given in
qs via spherical linear interpolation using the specified interpolation factors weights,
and store the result in dest. |
Quaternionf |
Quaternionfc.slerp(Quaternionfc target,
float alpha,
Quaternionf dest)
|
Quaternionf |
Quaternionf.slerp(Quaternionfc target,
float alpha,
Quaternionf dest) |
| Constructor and Description |
|---|
Quaternionf(Quaternionf source)
Create a new
Quaternionf and initialize its components to the same values as the given Quaternionf. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
MemUtil.copy(Quaternionf src,
Quaternionf dst) |
void |
MemUtil.MemUtilNIO.copy(Quaternionf src,
Quaternionf dst) |
abstract void |
MemUtil.identity(Quaternionf dest) |
void |
MemUtil.MemUtilNIO.identity(Quaternionf dest) |
abstract void |
MemUtil.putMatrix3f(Quaternionf q,
int position,
ByteBuffer dest) |
void |
MemUtil.MemUtilNIO.putMatrix3f(Quaternionf q,
int position,
ByteBuffer dest) |
abstract void |
MemUtil.putMatrix3f(Quaternionf q,
int position,
FloatBuffer dest) |
void |
MemUtil.MemUtilNIO.putMatrix3f(Quaternionf q,
int position,
FloatBuffer dest) |
abstract void |
MemUtil.putMatrix4f(Quaternionf q,
int position,
ByteBuffer dest) |
void |
MemUtil.MemUtilNIO.putMatrix4f(Quaternionf q,
int position,
ByteBuffer dest) |
abstract void |
MemUtil.putMatrix4f(Quaternionf q,
int position,
FloatBuffer dest) |
void |
MemUtil.MemUtilNIO.putMatrix4f(Quaternionf q,
int position,
FloatBuffer dest) |
abstract void |
MemUtil.putMatrix4x3f(Quaternionf q,
int position,
ByteBuffer dest) |
void |
MemUtil.MemUtilNIO.putMatrix4x3f(Quaternionf q,
int position,
ByteBuffer dest) |
abstract void |
MemUtil.putMatrix4x3f(Quaternionf q,
int position,
FloatBuffer dest) |
void |
MemUtil.MemUtilNIO.putMatrix4x3f(Quaternionf q,
int position,
FloatBuffer dest) |
Copyright © 2015–2019 JOML. All rights reserved.