Uses of Interface
org.joml.Quaternionfc
Packages that use Quaternionfc
-
Uses of Quaternionfc in org.joml
Classes in org.joml that implement QuaternionfcModifier and TypeClassDescriptionclass
Quaternion of 4 single-precision floats which can represent rotation and uniform scaling.Methods in org.joml that return QuaternionfcModifier and TypeMethodDescriptionstatic Quaternionfc
Quaternionf.nlerp
(Quaternionfc[] qs, float[] weights, Quaternionf dest) Interpolate between all of the quaternions given inqs
via non-spherical linear interpolation using the specified interpolation factorsweights
, and store the result indest
.static Quaternionfc
Quaternionf.nlerpIterative
(Quaternionf[] qs, float[] weights, float dotThreshold, Quaternionf dest) Interpolate between all of the quaternions given inqs
via iterative non-spherical linear interpolation using the specified interpolation factorsweights
, and store the result indest
.static Quaternionfc
Quaternionf.slerp
(Quaternionf[] qs, float[] weights, Quaternionf dest) Interpolate between all of the quaternions given inqs
via spherical linear interpolation using the specified interpolation factorsweights
, and store the result indest
.Methods in org.joml with parameters of type QuaternionfcModifier and TypeMethodDescriptionQuaternionf.add
(Quaternionfc q2) Addq2
to this quaternion.Quaternionf.add
(Quaternionfc q2, Quaternionf dest) Quaternionfc.add
(Quaternionfc q2, Quaternionf dest) Addq2
to this quaternion and store the result indest
.QuaternionfInterpolator.computeWeightedAverage
(Quaternionfc[] qs, float[] weights, int maxSvdIterations, Quaternionf dest) Compute the weighted average of all of the quaternions given inqs
using the specified interpolation factorsweights
, and store the result indest
.Quaternionf.conjugateBy
(Quaternionfc q) Conjugatethis
by the given quaternionq
by computingq * this * q^-1
.Quaternionf.conjugateBy
(Quaternionfc q, Quaternionf dest) Conjugatethis
by the given quaternionq
by computingq * this * q^-1
and store the result intodest
.Quaternionfc.conjugateBy
(Quaternionfc q, Quaternionf dest) Conjugatethis
by the given quaternionq
by computingq * this * q^-1
and store the result intodest
.Quaternionf.difference
(Quaternionfc other, Quaternionf dest) Quaternionfc.difference
(Quaternionfc other, Quaternionf dest) Compute the difference betweenthis
and theother
quaternion and store the result indest
.Quaternionf.div
(Quaternionfc b) Dividethis
quaternion byb
.Quaternionf.div
(Quaternionfc b, Quaternionf dest) Quaternionfc.div
(Quaternionfc b, Quaternionf dest) Dividethis
quaternion byb
and store the result indest
.boolean
Quaternionf.equals
(Quaternionfc q, float delta) boolean
Quaternionfc.equals
(Quaternionfc q, float delta) Compare the quaternion components ofthis
quaternion with the given quaternion using the givendelta
and return whether all of them are equal within a maximum difference ofdelta
.Quaternionf.mul
(Quaternionfc q) Multiply this quaternion byq
.Quaternionf.mul
(Quaternionfc q, Quaternionf dest) Quaternionfc.mul
(Quaternionfc q, Quaternionf dest) Multiply this quaternion byq
and store the result indest
.static Quaternionfc
Quaternionf.nlerp
(Quaternionfc[] qs, float[] weights, Quaternionf dest) Interpolate between all of the quaternions given inqs
via non-spherical linear interpolation using the specified interpolation factorsweights
, and store the result indest
.Quaternionf.nlerp
(Quaternionfc q, float factor) Compute a linear (non-spherical) interpolation ofthis
and the given quaternionq
and store the result inthis
.Quaternionf.nlerp
(Quaternionfc q, float factor, Quaternionf dest) Quaternionfc.nlerp
(Quaternionfc q, float factor, Quaternionf dest) Compute a linear (non-spherical) interpolation ofthis
and the given quaternionq
and store the result indest
.Quaternionf.nlerpIterative
(Quaternionfc q, float alpha, float dotThreshold) Compute linear (non-spherical) interpolations ofthis
and the given quaternionq
iteratively and store the result inthis
.Quaternionf.nlerpIterative
(Quaternionfc q, float alpha, float dotThreshold, Quaternionf dest) Quaternionfc.nlerpIterative
(Quaternionfc q, float alpha, float dotThreshold, Quaternionf dest) Compute linear (non-spherical) interpolations ofthis
and the given quaternionq
iteratively and store the result indest
.Quaternionf.premul
(Quaternionfc q) Pre-multiply this quaternion byq
.Quaternionf.premul
(Quaternionfc q, Quaternionf dest) Quaternionfc.premul
(Quaternionfc q, Quaternionf dest) Pre-multiply this quaternion byq
and store the result indest
.Matrix3f.reflect
(Quaternionfc orientation) Apply a mirror/reflection transformation to this matrix that reflects about a plane specified via the plane orientation.Matrix3f.reflect
(Quaternionfc orientation, Matrix3f dest) Matrix3fc.reflect
(Quaternionfc orientation, Matrix3f dest) Apply a mirror/reflection transformation to this matrix that reflects through a plane specified via the plane orientation, and store the result indest
.Matrix4f.reflect
(Quaternionfc orientation, Vector3fc 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.reflect
(Quaternionfc orientation, Vector3fc point, Matrix4f dest) Matrix4fc.reflect
(Quaternionfc orientation, Vector3fc 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 indest
.Matrix4x3f.reflect
(Quaternionfc orientation, Vector3fc 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.Matrix4x3f.reflect
(Quaternionfc orientation, Vector3fc point, Matrix4x3f dest) Matrix4x3fc.reflect
(Quaternionfc orientation, Vector3fc point, Matrix4x3f 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 indest
.Matrix3f.reflection
(Quaternionfc orientation) Set this matrix to a mirror/reflection transformation that reflects through a plane specified via the plane orientation.Matrix4f.reflection
(Quaternionfc orientation, Vector3fc 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.Matrix4x3f.reflection
(Quaternionfc orientation, Vector3fc 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.Matrix3d.rotate
(Quaternionfc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix3d.rotate
(Quaternionfc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix3dc.rotate
(Quaternionfc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix3f.rotate
(Quaternionfc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix3f.rotate
(Quaternionfc quat, Matrix3f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix3fc.rotate
(Quaternionfc quat, Matrix3f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4d.rotate
(Quaternionfc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix4d.rotate
(Quaternionfc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4dc.rotate
(Quaternionfc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4f.rotate
(Quaternionfc quat) Apply the rotation transformation of the givenQuaternionfc
to this matrix.Matrix4f.rotate
(Quaternionfc quat, Matrix4f dest) Apply the rotation transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4fc.rotate
(Quaternionfc quat, Matrix4f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4x3d.rotate
(Quaternionfc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix4x3d.rotate
(Quaternionfc quat, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4x3dc.rotate
(Quaternionfc quat, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4x3f.rotate
(Quaternionfc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix4x3f.rotate
(Quaternionfc quat, Matrix4x3f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4x3fc.rotate
(Quaternionfc quat, Matrix4x3f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Vector3f.rotate
(Quaternionfc quat) Rotate this vector by the given quaternionquat
and store the result inthis
.Vector3f.rotate
(Quaternionfc quat, Vector3f dest) Vector3fc.rotate
(Quaternionfc quat, Vector3f dest) Rotate this vector by the given quaternionquat
and store the result indest
.Vector4f.rotate
(Quaternionfc quat) Rotate this vector by the given quaternionquat
and store the result inthis
.Vector4f.rotate
(Quaternionfc quat, Vector4f dest) Vector4fc.rotate
(Quaternionfc quat, Vector4f dest) Rotate this vector by the given quaternionquat
and store the result indest
.Matrix4d.rotateAffine
(Quaternionfc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix4d.rotateAffine
(Quaternionfc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to thisaffine
matrix and store the result indest
.Matrix4dc.rotateAffine
(Quaternionfc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to thisaffine
matrix and store the result indest
.Matrix4f.rotateAffine
(Quaternionfc quat) Apply the rotation transformation of the givenQuaternionfc
to this matrix.Matrix4f.rotateAffine
(Quaternionfc quat, Matrix4f dest) Apply the rotation transformation of the givenQuaternionfc
to thisaffine
matrix and store the result indest
.Matrix4fc.rotateAffine
(Quaternionfc quat, Matrix4f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to thisaffine
matrix and store the result indest
.Matrix4f.rotateAround
(Quaternionfc quat, float ox, float oy, float oz) Apply the rotation transformation of the givenQuaternionfc
to this matrix while using(ox, oy, oz)
as the rotation origin.Matrix4f.rotateAround
(Quaternionfc quat, float ox, float oy, float oz, Matrix4f dest) Matrix4fc.rotateAround
(Quaternionfc quat, float ox, float oy, float oz, Matrix4f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix while using(ox, oy, oz)
as the rotation origin, and store the result indest
.Matrix4x3f.rotateAround
(Quaternionfc quat, float ox, float oy, float oz) Apply the rotation transformation of the givenQuaternionfc
to this matrix while using(ox, oy, oz)
as the rotation origin.Matrix4x3f.rotateAround
(Quaternionfc quat, float ox, float oy, float oz, Matrix4x3f dest) Matrix4x3fc.rotateAround
(Quaternionfc quat, float ox, float oy, float oz, Matrix4x3f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix while using(ox, oy, oz)
as the rotation origin, and store the result indest
.Matrix4f.rotateAroundAffine
(Quaternionfc quat, float ox, float oy, float oz, Matrix4f dest) Matrix4fc.rotateAroundAffine
(Quaternionfc quat, float ox, float oy, float oz, Matrix4f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to thisaffine
matrix while using(ox, oy, oz)
as the rotation origin, and store the result indest
.Matrix4f.rotateAroundLocal
(Quaternionfc quat, float ox, float oy, float oz) Pre-multiply the rotation transformation of the givenQuaternionfc
to this matrix while using(ox, oy, oz)
as the rotation origin.Matrix4f.rotateAroundLocal
(Quaternionfc quat, float ox, float oy, float oz, Matrix4f dest) Matrix4fc.rotateAroundLocal
(Quaternionfc quat, float ox, float oy, float oz, Matrix4f dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix while using(ox, oy, oz)
as the rotation origin, and store the result indest
.Matrix3d.rotateLocal
(Quaternionfc quat) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix3d.rotateLocal
(Quaternionfc quat, Matrix3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix3dc.rotateLocal
(Quaternionfc quat, Matrix3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix3f.rotateLocal
(Quaternionfc quat) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix3f.rotateLocal
(Quaternionfc quat, Matrix3f dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix3fc.rotateLocal
(Quaternionfc quat, Matrix3f dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4d.rotateLocal
(Quaternionfc quat) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix4d.rotateLocal
(Quaternionfc quat, Matrix4d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4dc.rotateLocal
(Quaternionfc quat, Matrix4d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4f.rotateLocal
(Quaternionfc quat) Pre-multiply the rotation transformation of the givenQuaternionfc
to this matrix.Matrix4f.rotateLocal
(Quaternionfc quat, Matrix4f dest) Pre-multiply the rotation transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4fc.rotateLocal
(Quaternionfc quat, Matrix4f dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4x3d.rotateLocal
(Quaternionfc quat) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix4x3d.rotateLocal
(Quaternionfc quat, Matrix4x3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4x3dc.rotateLocal
(Quaternionfc quat, Matrix4x3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4x3f.rotateLocal
(Quaternionfc quat) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix.Matrix4x3f.rotateLocal
(Quaternionfc quat, Matrix4x3f dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4x3fc.rotateLocal
(Quaternionfc quat, Matrix4x3f dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Matrix4d.rotateTranslation
(Quaternionfc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix, which is assumed to only contain a translation, and store the result indest
.Matrix4dc.rotateTranslation
(Quaternionfc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix, which is assumed to only contain a translation, and store the result indest
.Matrix4f.rotateTranslation
(Quaternionfc quat, Matrix4f dest) Apply the rotation transformation of the givenQuaternionfc
to this matrix, which is assumed to only contain a translation, and store the result indest
.Matrix4fc.rotateTranslation
(Quaternionfc quat, Matrix4f dest) Apply the rotation - and possibly scaling - ransformation of the givenQuaternionfc
to this matrix, which is assumed to only contain a translation, and store the result indest
.Matrix4x3d.rotateTranslation
(Quaternionfc quat, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix, which is assumed to only contain a translation, and store the result indest
.Matrix4x3dc.rotateTranslation
(Quaternionfc quat, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix, which is assumed to only contain a translation, and store the result indest
.Matrix4x3f.rotateTranslation
(Quaternionfc quat, Matrix4x3f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix, which is assumed to only contain a translation, and store the result indest
.Matrix4x3fc.rotateTranslation
(Quaternionfc quat, Matrix4x3f dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix, which is assumed to only contain a translation, and store the result indest
.Matrix3d.rotation
(Quaternionfc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaternionfc
.Matrix3f.rotation
(Quaternionfc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaternionfc
.Matrix4d.rotation
(Quaternionfc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaternionfc
.Matrix4f.rotation
(Quaternionfc quat) Set this matrix to the rotation transformation of the givenQuaternionfc
.Matrix4x3d.rotation
(Quaternionfc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaternionfc
.Matrix4x3f.rotation
(Quaternionfc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaternionfc
.Matrix4f.rotationAround
(Quaternionfc quat, float ox, float oy, float oz) Set this matrix to a transformation composed of a rotation of the specifiedQuaternionfc
while using(ox, oy, oz)
as the rotation origin.Matrix4x3f.rotationAround
(Quaternionfc quat, float ox, float oy, float oz) Set this matrix to a transformation composed of a rotation of the specifiedQuaternionfc
while using(ox, oy, oz)
as the rotation origin.AxisAngle4d.set
(Quaternionfc q) Set thisAxisAngle4d
to be equivalent to the givenQuaternionfc
.AxisAngle4f.set
(Quaternionfc q) Set thisAxisAngle4f
to be equivalent to the givenQuaternionfc
.Matrix3d.set
(Quaternionfc q) Set this matrix to a rotation - and possibly scaling - equivalent to the given quaternion.Matrix3f.set
(Quaternionfc q) Set this matrix to be equivalent to the rotation - and possibly scaling - specified by the givenQuaternionfc
.Matrix4d.set
(Quaternionfc q) Set this matrix to be equivalent to the rotation - and possibly scaling - specified by the givenQuaternionfc
.Matrix4f.set
(Quaternionfc q) Set this matrix to be equivalent to the rotation specified by the givenQuaternionfc
.Matrix4x3d.set
(Quaternionfc q) Set this matrix to be equivalent to the rotation - and possibly scaling - specified by the givenQuaternionfc
.Matrix4x3f.set
(Quaternionfc q) Set this matrix to be equivalent to the rotation - and possibly scaling - specified by the givenQuaternionfc
.Quaterniond.set
(Quaternionfc q) Set this quaternion to be a copy of q.Quaternionf.set
(Quaternionfc q) Set this quaternion to be a copy ofq
.Quaternionf.slerp
(Quaternionfc target, float alpha) Quaternionf.slerp
(Quaternionfc target, float alpha, Quaternionf dest) Quaternionfc.slerp
(Quaternionfc target, float alpha, Quaternionf dest) Matrix4f.translationRotate
(float tx, float ty, float tz, Quaternionfc quat) Setthis
matrix toT * R
, whereT
is a translation by the given(tx, ty, tz)
andR
is a rotation - and possibly scaling - transformation specified by the given quaternion.Matrix4f.translationRotate
(Vector3fc translation, Quaternionfc quat) Setthis
matrix toT * R
, whereT
is the giventranslation
andR
is a rotation transformation specified by the given quaternion.Matrix4x3f.translationRotate
(float tx, float ty, float tz, Quaternionfc quat) Setthis
matrix toT * R
, whereT
is a translation by the given(tx, ty, tz)
andR
is a rotation transformation specified by the given quaternion.Matrix4x3f.translationRotate
(Vector3fc translation, Quaternionfc quat) Setthis
matrix toT * R
, whereT
is the giventranslation
andR
is a rotation transformation specified by the given quaternion.Matrix4d.translationRotateInvert
(Vector3fc translation, Quaternionfc quat) Setthis
matrix to(T * R)-1
, whereT
is the giventranslation
andR
is a rotation transformation specified by the given quaternion.Matrix4f.translationRotateInvert
(Vector3fc translation, Quaternionfc quat) Setthis
matrix to(T * R)-1
, whereT
is the giventranslation
andR
is a rotation transformation specified by the given quaternion.Matrix4x3f.translationRotateInvert
(Vector3fc translation, Quaternionfc quat) Setthis
matrix to(T * R)-1
, whereT
is the giventranslation
andR
is a rotation transformation specified by the given quaternion.Matrix4x3d.translationRotateMul
(double tx, double ty, double tz, Quaternionfc quat, Matrix4x3dc mat) Setthis
matrix toT * R * M
, whereT
is a translation by the given(tx, ty, tz)
,R
is a rotation - and possibly scaling - transformation specified by the given quaternion andM
is the given matrixmat
.Matrix4x3f.translationRotateMul
(float tx, float ty, float tz, Quaternionfc quat, Matrix4x3fc mat) Setthis
matrix toT * R * M
, whereT
is a translation by the given(tx, ty, tz)
,R
is a rotation - and possibly scaling - transformation specified by the given quaternion andM
is the given matrixmat
.Matrix4d.translationRotateScale
(Vector3fc translation, Quaternionfc quat, double scale) Setthis
matrix toT * R * S
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales all three axes byscale
.Matrix4d.translationRotateScale
(Vector3fc translation, Quaternionfc quat, Vector3fc scale) Setthis
matrix toT * R * S
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales the axes byscale
.Matrix4f.translationRotateScale
(Vector3fc translation, Quaternionfc quat, float scale) Setthis
matrix toT * R * S
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales all three axes byscale
.Matrix4f.translationRotateScale
(Vector3fc translation, Quaternionfc quat, Vector3fc scale) Setthis
matrix toT * R * S
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales the axes byscale
.Matrix4x3d.translationRotateScale
(Vector3fc translation, Quaternionfc quat, Vector3fc scale) Setthis
matrix toT * R * S
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales the axes byscale
.Matrix4x3f.translationRotateScale
(Vector3fc translation, Quaternionfc quat, Vector3fc scale) Setthis
matrix toT * R * S
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales the axes byscale
.Matrix4d.translationRotateScaleInvert
(Vector3fc translation, Quaternionfc quat, double scale) Setthis
matrix to(T * R * S)-1
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales all three axes byscale
.Matrix4d.translationRotateScaleInvert
(Vector3fc translation, Quaternionfc quat, Vector3fc scale) Setthis
matrix to(T * R * S)-1
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales the axes byscale
.Matrix4f.translationRotateScaleInvert
(Vector3fc translation, Quaternionfc quat, float scale) Setthis
matrix to(T * R * S)-1
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales all three axes byscale
.Matrix4f.translationRotateScaleInvert
(Vector3fc translation, Quaternionfc quat, Vector3fc scale) Setthis
matrix to(T * R * S)-1
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion, andS
is a scaling transformation which scales the axes byscale
.Matrix4x3f.translationRotateScaleMul
(Vector3fc translation, Quaternionfc quat, Vector3fc scale, Matrix4x3f m) Setthis
matrix toT * R * S * M
, whereT
is the giventranslation
,R
is a rotation transformation specified by the given quaternion,S
is a scaling transformation which scales the axes byscale
.Matrix4f.translationRotateScaleMulAffine
(Vector3fc translation, Quaternionfc quat, Vector3fc scale, Matrix4f m) Setthis
matrix toT * R * S * M
, whereT
is the giventranslation
,R
is a rotation - and possibly scaling - transformation specified by the given quaternion,S
is a scaling transformation which scales the axes byscale
andM
is anaffine
matrix.Constructors in org.joml with parameters of type QuaternionfcModifierConstructorDescriptionCreate a newAxisAngle4d
from the givenQuaternionfc
.Create a newAxisAngle4f
from the givenQuaternionfc
.Quaterniond
(Quaternionfc source) Create a newQuaterniond
and initialize its components to the same values as the givenQuaternionfc
.Quaternionf
(Quaternionfc source) Create a newQuaternionf
and initialize its components to the same values as the givenQuaternionfc
.