Uses of Class
org.joml.Matrix3d
Packages that use Matrix3d
-
Uses of Matrix3d in org.joml
Modifier and TypeMethodDescriptionComponent-wise addthis
andother
.Component-wise addthis
andother
and store the result indest
.Matrix3d.cofactor()
Compute the cofactor matrix ofthis
.Compute the cofactor matrix ofthis
and store it intodest
.Compute the cofactor matrix ofthis
and store it intodest
.Matrix4d.cofactor3x3
(Matrix3d dest) Compute the cofactor matrix of the upper left 3x3 submatrix ofthis
and store it intodest
.Matrix4dc.cofactor3x3
(Matrix3d dest) Compute the cofactor matrix of the upper left 3x3 submatrix ofthis
and store it intodest
.Matrix4x3d.cofactor3x3
(Matrix3d dest) Compute the cofactor matrix of the left 3x3 submatrix ofthis
and store it intodest
.Matrix4x3dc.cofactor3x3
(Matrix3d dest) Compute the cofactor matrix of the left 3x3 submatrix ofthis
and store it intodest
.Set the givenMatrix3d
to a rotation transformation equivalent to thisAxisAngle4d
.Set the givenMatrix3d
to a rotation transformation equivalent to thisAxisAngle4f
.Get the current values ofthis
matrix and store them as the rotational component ofdest
.Get the current values ofthis
matrix and store them intodest
.Get the current values ofthis
matrix and store them intodest
.Set the given destination matrix to the rotation represented bythis
.Set the given destination matrix to the rotation represented bythis
.Get the current values of the upper left 3x3 submatrix ofthis
matrix and store them intodest
.Get the current values of the upper left 3x3 submatrix ofthis
matrix and store them intodest
.Matrix3d.identity()
Set this matrix to the identity.Matrix3d.invert()
Invert this matrix.Invertthis
matrix and store the result indest
.Linearly interpolatethis
andother
using the given interpolation factort
and store the result inthis
.Linearly interpolatethis
andother
using the given interpolation factort
and store the result indest
.Matrix3d.lookAlong
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ) Apply a rotation transformation to this matrix to make-z
point alongdir
.Matrix3d.lookAlong
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ, Matrix3d dest) Apply a rotation transformation to this matrix to make-z
point alongdir
and store the result indest
.Apply a rotation transformation to this matrix to make-z
point alongdir
.Apply a rotation transformation to this matrix to make-z
point alongdir
and store the result indest
.Matrix3dc.lookAlong
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ, Matrix3d dest) Apply a rotation transformation to this matrix to make-z
point alongdir
and store the result indest
.Apply a rotation transformation to this matrix to make-z
point alongdir
and store the result indest
.Matrix3d.m00
(double m00) Set the value of the matrix element at column 0 and row 0.Matrix3d.m01
(double m01) Set the value of the matrix element at column 0 and row 1.Matrix3d.m02
(double m02) Set the value of the matrix element at column 0 and row 2.Matrix3d.m10
(double m10) Set the value of the matrix element at column 1 and row 0.Matrix3d.m11
(double m11) Set the value of the matrix element at column 1 and row 1.Matrix3d.m12
(double m12) Set the value of the matrix element at column 1 and row 2.Matrix3d.m20
(double m20) Set the value of the matrix element at column 2 and row 0.Matrix3d.m21
(double m21) Set the value of the matrix element at column 2 and row 1.Matrix3d.m22
(double m22) Set the value of the matrix element at column 2 and row 2.Matrix3d.mapnXnYnZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnXnYZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnXnZnY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnXnZY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnXYnZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnXZnY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnXZY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnYnXnZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnYnXZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnYnZnX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnYnZX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnYXnZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnYXZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnYZnX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnYZX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnZnXnY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnZnXY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnZnYnX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnZnYX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnZXnY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnZXY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnZYnX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapnZYX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapXnYnZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapXnZnY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapXnZY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapXZnY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapXZY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapYnXnZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapYnXZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapYnZnX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapYnZX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapYXnZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapYXZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapYZnX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapYZX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapZnXnY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapZnXY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapZnYnX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapZnYX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapZXnY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapZXY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapZYnX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.mapZYX()
Multiplythis
by the matrixMultiplythis
by the matrixMultiply this matrix by the supplied matrix.Multiply this matrix by the supplied matrix.Multiply this matrix by the supplied matrix and store the result indest
.Multiply this matrix by the supplied matrix and store the result indest
.Matrix3d.mulComponentWise
(Matrix3dc other) Component-wise multiplythis
byother
.Matrix3d.mulComponentWise
(Matrix3dc other, Matrix3d dest) Matrix3dc.mulComponentWise
(Matrix3dc other, Matrix3d dest) Component-wise multiplythis
byother
and store the result indest
.Pre-multiply this matrix by the suppliedleft
matrix and store the result inthis
.Pre-multiply this matrix by the suppliedleft
matrix and store the result indest
.Matrix3d.negateX()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.negateY()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.negateZ()
Multiplythis
by the matrixMultiplythis
by the matrixMatrix3d.normal()
Setthis
matrix to its own normal matrix.Compute a normal matrix fromthis
matrix and store it intodest
.Compute a normal matrix fromthis
matrix and store it intodest
.Compute a normal matrix from the upper left 3x3 submatrix ofthis
and store it intodest
.Compute a normal matrix from the upper left 3x3 submatrix ofthis
and store it intodest
.Compute a normal matrix from the left 3x3 submatrix ofthis
and store it intodest
.Matrix4d.normalize3x3
(Matrix3d dest) Matrix4dc.normalize3x3
(Matrix3d dest) Normalize the upper left 3x3 submatrix of this matrix and store the result indest
.Matrix4x3d.normalize3x3
(Matrix3d dest) Matrix4x3dc.normalize3x3
(Matrix3d dest) Normalize the left 3x3 submatrix of this matrix and store the result indest
.Matrix3d.obliqueZ
(double a, double b) Apply an oblique projection transformation to this matrix with the given values fora
andb
.Apply an oblique projection transformation to this matrix with the given values fora
andb
and store the result indest
.Apply an oblique projection transformation to this matrix with the given values fora
andb
and store the result indest
.Matrix3d.reflect
(double nx, double ny, double nz) Apply a mirror/reflection transformation to this matrix that reflects through the given plane specified via the plane normal.Matrix3d.reflect
(Quaterniondc orientation) Apply a mirror/reflection transformation to this matrix that reflects about a plane specified via the plane orientation.Matrix3d.reflect
(Quaterniondc orientation, Matrix3d dest) Apply a mirror/reflection transformation to this matrix that reflects through the given plane specified via the plane normal.Apply a mirror/reflection transformation to this matrix that reflects through the given plane specified via the plane normal(nx, ny, nz)
, and store the result indest
.Matrix3dc.reflect
(Quaterniondc orientation, Matrix3d dest) Apply a mirror/reflection transformation to this matrix that reflects through a plane specified via the plane orientation, and store the result indest
.Apply a mirror/reflection transformation to this matrix that reflects through the given plane specified via the plane normal, and store the result indest
.Matrix3d.reflection
(double nx, double ny, double nz) Set this matrix to a mirror/reflection transformation that reflects through the given plane specified via the plane normal.Matrix3d.reflection
(Quaterniondc orientation) Set this matrix to a mirror/reflection transformation that reflects through a plane specified via the plane orientation.Matrix3d.reflection
(Vector3dc normal) Set this matrix to a mirror/reflection transformation that reflects through the given plane specified via the plane normal.Matrix3d.rotate
(double ang, double x, double y, double z) Apply rotation to this matrix by rotating the given amount of radians about the given axis specified as x, y and z components.Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.Apply a rotation transformation, rotating the given radians about the specified axis and store the result indest
.Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.Apply a rotation transformation, rotating the given radians about the specified axis and store the result indest
.Matrix3d.rotate
(AxisAngle4d axisAngle) Apply a rotation transformation, rotating about the givenAxisAngle4d
, to this matrix.Matrix3d.rotate
(AxisAngle4d axisAngle, Matrix3d dest) Apply a rotation transformation, rotating about the givenAxisAngle4d
and store the result indest
.Matrix3d.rotate
(AxisAngle4f axisAngle) Apply a rotation transformation, rotating about the givenAxisAngle4f
, to this matrix.Matrix3d.rotate
(AxisAngle4f axisAngle, Matrix3d dest) Apply a rotation transformation, rotating about the givenAxisAngle4f
and store the result indest
.Matrix3d.rotate
(Quaterniondc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondc
to this matrix.Matrix3d.rotate
(Quaterniondc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondc
to this matrix and store the result indest
.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
.Apply rotation to this matrix by rotating the given amount of radians about the given axis specified as x, y and z components, and store the result indest
.Apply a rotation transformation, rotating the given radians about the specified axis and store the result indest
.Apply a rotation transformation, rotating the given radians about the specified axis and store the result indest
.Matrix3dc.rotate
(AxisAngle4d axisAngle, Matrix3d dest) Apply a rotation transformation, rotating about the givenAxisAngle4d
and store the result indest
.Matrix3dc.rotate
(AxisAngle4f axisAngle, Matrix3d dest) Apply a rotation transformation, rotating about the givenAxisAngle4f
and store the result indest
.Matrix3dc.rotate
(Quaterniondc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondc
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
.Matrix3d.rotateLocal
(double ang, double x, double y, double z) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the specified(x, y, z)
axis.Matrix3d.rotateLocal
(double ang, double x, double y, double z, Matrix3d dest) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the specified(x, y, z)
axis and store the result indest
.Matrix3d.rotateLocal
(Quaterniondc quat) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondc
to this matrix.Matrix3d.rotateLocal
(Quaterniondc quat, Matrix3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondc
to this matrix 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
(double ang, double x, double y, double z, Matrix3d dest) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the specified(x, y, z)
axis and store the result indest
.Matrix3dc.rotateLocal
(Quaterniondc quat, Matrix3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondc
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
.Matrix3d.rotateLocalX
(double ang) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the X axis.Matrix3d.rotateLocalX
(double ang, Matrix3d dest) Pre-multiply a rotation around the X axis to this matrix by rotating the given amount of radians about the X axis and store the result indest
.Matrix3dc.rotateLocalX
(double ang, Matrix3d dest) Pre-multiply a rotation around the X axis to this matrix by rotating the given amount of radians about the X axis and store the result indest
.Matrix3d.rotateLocalY
(double ang) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the Y axis.Matrix3d.rotateLocalY
(double ang, Matrix3d dest) Pre-multiply a rotation around the Y axis to this matrix by rotating the given amount of radians about the Y axis and store the result indest
.Matrix3dc.rotateLocalY
(double ang, Matrix3d dest) Pre-multiply a rotation around the Y axis to this matrix by rotating the given amount of radians about the Y axis and store the result indest
.Matrix3d.rotateLocalZ
(double ang) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the Z axis.Matrix3d.rotateLocalZ
(double ang, Matrix3d dest) Pre-multiply a rotation around the Z axis to this matrix by rotating the given amount of radians about the Z axis and store the result indest
.Matrix3dc.rotateLocalZ
(double ang, Matrix3d dest) Pre-multiply a rotation around the Z axis to this matrix by rotating the given amount of radians about the Z axis and store the result indest
.Matrix3d.rotateTowards
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdirection
.Matrix3d.rotateTowards
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ, Matrix3d dest) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdir
and store the result indest
.Matrix3d.rotateTowards
(Vector3dc direction, Vector3dc up) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdirection
.Matrix3d.rotateTowards
(Vector3dc direction, Vector3dc up, Matrix3d dest) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdirection
and store the result indest
.Matrix3dc.rotateTowards
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ, Matrix3d dest) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdir
and store the result indest
.Matrix3dc.rotateTowards
(Vector3dc direction, Vector3dc up, Matrix3d dest) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdirection
and store the result indest
.Matrix3d.rotateX
(double ang) Apply rotation about the X axis to this matrix by rotating the given amount of radians.Apply rotation about the X axis to this matrix by rotating the given amount of radians and store the result indest
.Matrix3d.rotateXYZ
(double angleX, double angleY, double angleZ) Apply rotation ofangleX
radians about the X axis, followed by a rotation ofangleY
radians about the Y axis and followed by a rotation ofangleZ
radians about the Z axis.Apply rotation ofangleX
radians about the X axis, followed by a rotation ofangleY
radians about the Y axis and followed by a rotation ofangleZ
radians about the Z axis and store the result indest
.Matrix3d.rotateY
(double ang) Apply rotation about the Y axis to this matrix by rotating the given amount of radians.Apply rotation about the Y axis to this matrix by rotating the given amount of radians and store the result indest
.Matrix3d.rotateYXZ
(double angleY, double angleX, double angleZ) Apply rotation ofangleY
radians about the Y axis, followed by a rotation ofangleX
radians about the X axis and followed by a rotation ofangleZ
radians about the Z axis.Apply rotation ofangles.y
radians about the Y axis, followed by a rotation ofangles.x
radians about the X axis and followed by a rotation ofangles.z
radians about the Z axis.Apply rotation ofangleY
radians about the Y axis, followed by a rotation ofangleX
radians about the X axis and followed by a rotation ofangleZ
radians about the Z axis and store the result indest
.Matrix3d.rotateZ
(double ang) Apply rotation about the Z axis to this matrix by rotating the given amount of radians.Apply rotation about the Z axis to this matrix by rotating the given amount of radians and store the result indest
.Matrix3d.rotateZYX
(double angleZ, double angleY, double angleX) Apply rotation ofangleZ
radians about the Z axis, followed by a rotation ofangleY
radians about the Y axis and followed by a rotation ofangleX
radians about the X axis.Apply rotation ofangleZ
radians about the Z axis, followed by a rotation ofangleY
radians about the Y axis and followed by a rotation ofangleX
radians about the X axis and store the result indest
.Matrix3d.rotation
(double angle, double x, double y, double z) Set this matrix to a rotation matrix which rotates the given radians about a given axis.Set this matrix to a rotation matrix which rotates the given radians about a given axis.Set this matrix to a rotation matrix which rotates the given radians about a given axis.Matrix3d.rotation
(AxisAngle4d axisAngle) Set this matrix to a rotation transformation using the givenAxisAngle4d
.Matrix3d.rotation
(AxisAngle4f axisAngle) Set this matrix to a rotation transformation using the givenAxisAngle4f
.Matrix3d.rotation
(Quaterniondc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaterniondc
.Matrix3d.rotation
(Quaternionfc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaternionfc
.Matrix3d.rotationTowards
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ) Set this matrix to a model transformation for a right-handed coordinate system, that aligns the local-z
axis withcenter - eye
.Matrix3d.rotationTowards
(Vector3dc dir, Vector3dc up) Set this matrix to a model transformation for a right-handed coordinate system, that aligns the local-z
axis withcenter - eye
.Matrix3d.rotationX
(double ang) Set this matrix to a rotation transformation about the X axis.Matrix3d.rotationXYZ
(double angleX, double angleY, double angleZ) Set this matrix to a rotation ofangleX
radians about the X axis, followed by a rotation ofangleY
radians about the Y axis and followed by a rotation ofangleZ
radians about the Z axis.Matrix3d.rotationY
(double ang) Set this matrix to a rotation transformation about the Y axis.Matrix3d.rotationYXZ
(double angleY, double angleX, double angleZ) Set this matrix to a rotation ofangleY
radians about the Y axis, followed by a rotation ofangleX
radians about the X axis and followed by a rotation ofangleZ
radians about the Z axis.Matrix3d.rotationZ
(double ang) Set this matrix to a rotation transformation about the Z axis.Matrix3d.rotationZYX
(double angleZ, double angleY, double angleX) Set this matrix to a rotation ofangleZ
radians about the Z axis, followed by a rotation ofangleY
radians about the Y axis and followed by a rotation ofangleX
radians about the X axis.Matrix3d.scale
(double xyz) Apply scaling to this matrix by uniformly scaling all base axes by the givenxyz
factor.Matrix3d.scale
(double x, double y, double z) Apply scaling to this matrix by scaling the base axes by the given x, y and z factors.Apply scaling to this matrix by scaling the base axes by the givenxyz.x
,xyz.y
andxyz.z
factors, respectively.Apply scaling to this matrix by scaling the base axes by the given x, y and z factors and store the result indest
.Apply scaling to this matrix by uniformly scaling all base axes by the givenxyz
factor and store the result indest
.Apply scaling tothis
matrix by scaling the base axes by the givenxyz.x
,xyz.y
andxyz.z
factors, respectively and store the result indest
.Matrix3d.scaleLocal
(double x, double y, double z) Pre-multiply scaling to this matrix by scaling the base axes by the given x, y and z factors.Matrix3d.scaleLocal
(double x, double y, double z, Matrix3d dest) Matrix3dc.scaleLocal
(double x, double y, double z, Matrix3d dest) Pre-multiply scaling tothis
matrix by scaling the base axes by the given x, y and z factors and store the result indest
.Matrix3d.scaling
(double factor) Set this matrix to be a simple scale matrix, which scales all axes uniformly by the given factor.Matrix3d.scaling
(double x, double y, double z) Set this matrix to be a simple scale matrix.Set this matrix to be a simple scale matrix which scales the base axes byxyz.x
,xyz.y
andxyz.z
respectively.Matrix3d.set
(double[] m) Set the values in this matrix based on the supplied double array.Matrix3d.set
(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) Set the values within this matrix to the supplied double values.Matrix3d.set
(float[] m) Set the values in this matrix based on the supplied double array.Matrix3d.set
(int column, int row, double value) Set the matrix element at the given column and row to the specified value.Matrix3d.set
(int index, ByteBuffer buffer) Set the values of this matrix by reading 9 double values from the givenByteBuffer
in column-major order, starting at the specified absolute buffer position/index.Matrix3d.set
(int index, DoubleBuffer buffer) Set the values of this matrix by reading 9 double values from the givenDoubleBuffer
in column-major order, starting at the specified absolute buffer position/index.Matrix3d.set
(int index, FloatBuffer buffer) Set the values of this matrix by reading 9 float values from the givenFloatBuffer
in column-major order, starting at the specified absolute buffer position/index.Matrix3d.set
(ByteBuffer buffer) Set the values of this matrix by reading 9 double values from the givenByteBuffer
in column-major order, starting at its current position.Matrix3d.set
(DoubleBuffer buffer) Set the values of this matrix by reading 9 double values from the givenDoubleBuffer
in column-major order, starting at its current position.Matrix3d.set
(FloatBuffer buffer) Set the values of this matrix by reading 9 float values from the givenFloatBuffer
in column-major order, starting at its current position.Matrix3d.set
(AxisAngle4d axisAngle) Set this matrix to be equivalent to the rotation specified by the givenAxisAngle4d
.Matrix3d.set
(AxisAngle4f axisAngle) Set this matrix to be equivalent to the rotation specified by the givenAxisAngle4f
.Set the values in this matrix to the ones in m.Set the values in this matrix to the ones in m.Set the elements of this matrix to the upper left 3x3 of the givenMatrix4dc
.Set the elements of this matrix to the upper left 3x3 of the givenMatrix4fc
.Matrix3d.set
(Matrix4x3dc m) Set the elements of this matrix to the left 3x3 submatrix ofm
.Matrix3d.set
(Quaterniondc q) Set this matrix to a rotation - and possibly scaling - equivalent to the given quaternion.Matrix3d.set
(Quaternionfc q) Set this matrix to a rotation - and possibly scaling - equivalent to the given quaternion.Set the three columns of this matrix to the supplied vectors, respectively.Matrix3d.setColumn
(int column, double x, double y, double z) Set the column at the givencolumn
index, starting with0
.Set the column at the givencolumn
index, starting with0
.Matrix3d.setFloats
(int index, ByteBuffer buffer) Set the values of this matrix by reading 9 float values from the givenByteBuffer
in column-major order, starting at the specified absolute buffer position/index.Matrix3d.setFloats
(ByteBuffer buffer) Set the values of this matrix by reading 9 float values from the givenByteBuffer
in column-major order, starting at its current position.Matrix3d.setFromAddress
(long address) Set the values of this matrix by reading 9 double values from off-heap memory in column-major order, starting at the given address.Matrix3d.setLookAlong
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ) Set this matrix to a rotation transformation to make-z
point alongdir
.Matrix3d.setLookAlong
(Vector3dc dir, Vector3dc up) Set this matrix to a rotation transformation to make-z
point alongdir
.Matrix3d.setRow
(int row, double x, double y, double z) Set the row at the givenrow
index, starting with0
.Set the row at the givenrow
index, starting with0
.Matrix3d.setRowColumn
(int row, int column, double value) Set the matrix element at the given row and column to the specified value.Matrix3d.setSkewSymmetric
(double a, double b, double c) Set this matrix to a skew-symmetric matrix using the following layout:Matrix3d.setTransposed
(Matrix3dc m) Store the values of the transpose of the given matrixm
intothis
matrix.Matrix3d.setTransposed
(Matrix3fc m) Store the values of the transpose of the given matrixm
intothis
matrix.Component-wise subtractsubtrahend
fromthis
.Component-wise subtractsubtrahend
fromthis
and store the result indest
.Exchange the values ofthis
matrix with the givenother
matrix.Matrix3d.transpose()
Transpose this matrix.Transposethis
matrix and store the result indest
.Matrix4d.transpose3x3
(Matrix3d dest) Matrix4dc.transpose3x3
(Matrix3d dest) Transpose only the upper left 3x3 submatrix of this matrix and store the result indest
.Matrix4x3d.transpose3x3
(Matrix3d dest) Matrix4x3dc.transpose3x3
(Matrix3d dest) Transpose only the left 3x3 submatrix of this matrix and store the result indest
.Matrix3d.zero()
Set all the values within this matrix to 0.Modifier and TypeMethodDescriptionComponent-wise addthis
andother
and store the result indest
.Compute the cofactor matrix ofthis
and store it intodest
.Compute the cofactor matrix ofthis
and store it intodest
.Matrix4d.cofactor3x3
(Matrix3d dest) Compute the cofactor matrix of the upper left 3x3 submatrix ofthis
and store it intodest
.Matrix4dc.cofactor3x3
(Matrix3d dest) Compute the cofactor matrix of the upper left 3x3 submatrix ofthis
and store it intodest
.Matrix4x3d.cofactor3x3
(Matrix3d dest) Compute the cofactor matrix of the left 3x3 submatrix ofthis
and store it intodest
.Matrix4x3dc.cofactor3x3
(Matrix3d dest) Compute the cofactor matrix of the left 3x3 submatrix ofthis
and store it intodest
.Set the givenMatrix3d
to a rotation transformation equivalent to thisAxisAngle4d
.Set the givenMatrix3d
to a rotation transformation equivalent to thisAxisAngle4f
.Get the current values ofthis
matrix and store them as the rotational component ofdest
.Get the current values ofthis
matrix and store them intodest
.Get the current values ofthis
matrix and store them intodest
.Set the given destination matrix to the rotation represented bythis
.Set the given destination matrix to the rotation represented bythis
.Get the current values of the upper left 3x3 submatrix ofthis
matrix and store them intodest
.Get the current values of the upper left 3x3 submatrix ofthis
matrix and store them intodest
.Invertthis
matrix and store the result indest
.Linearly interpolatethis
andother
using the given interpolation factort
and store the result indest
.Matrix3d.lookAlong
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ, Matrix3d dest) Apply a rotation transformation to this matrix to make-z
point alongdir
and store the result indest
.Apply a rotation transformation to this matrix to make-z
point alongdir
and store the result indest
.Matrix3dc.lookAlong
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ, Matrix3d dest) Apply a rotation transformation to this matrix to make-z
point alongdir
and store the result indest
.Apply a rotation transformation to this matrix to make-z
point alongdir
and store the result indest
.Multiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixMultiply this matrix by the supplied matrix and store the result indest
.Multiply this matrix by the supplied matrix and store the result indest
.Matrix3d.mulComponentWise
(Matrix3dc other, Matrix3d dest) Matrix3dc.mulComponentWise
(Matrix3dc other, Matrix3d dest) Component-wise multiplythis
byother
and store the result indest
.Pre-multiply this matrix by the suppliedleft
matrix and store the result indest
.Multiplythis
by the matrixMultiplythis
by the matrixMultiplythis
by the matrixCompute a normal matrix fromthis
matrix and store it intodest
.Compute a normal matrix fromthis
matrix and store it intodest
.Compute a normal matrix from the upper left 3x3 submatrix ofthis
and store it intodest
.Compute a normal matrix from the upper left 3x3 submatrix ofthis
and store it intodest
.Compute a normal matrix from the left 3x3 submatrix ofthis
and store it intodest
.Matrix4d.normalize3x3
(Matrix3d dest) Matrix4dc.normalize3x3
(Matrix3d dest) Normalize the upper left 3x3 submatrix of this matrix and store the result indest
.Matrix4x3d.normalize3x3
(Matrix3d dest) Matrix4x3dc.normalize3x3
(Matrix3d dest) Normalize the left 3x3 submatrix of this matrix and store the result indest
.Apply an oblique projection transformation to this matrix with the given values fora
andb
and store the result indest
.Apply an oblique projection transformation to this matrix with the given values fora
andb
and store the result indest
.Matrix3d.reflect
(Quaterniondc orientation, Matrix3d dest) Apply a mirror/reflection transformation to this matrix that reflects through the given plane specified via the plane normal(nx, ny, nz)
, and store the result indest
.Matrix3dc.reflect
(Quaterniondc orientation, Matrix3d dest) Apply a mirror/reflection transformation to this matrix that reflects through a plane specified via the plane orientation, and store the result indest
.Apply a mirror/reflection transformation to this matrix that reflects through the given plane specified via the plane normal, and store the result indest
.Apply a rotation transformation, rotating the given radians about the specified axis and store the result indest
.Apply a rotation transformation, rotating the given radians about the specified axis and store the result indest
.Matrix3d.rotate
(AxisAngle4d axisAngle, Matrix3d dest) Apply a rotation transformation, rotating about the givenAxisAngle4d
and store the result indest
.Matrix3d.rotate
(AxisAngle4f axisAngle, Matrix3d dest) Apply a rotation transformation, rotating about the givenAxisAngle4f
and store the result indest
.Matrix3d.rotate
(Quaterniondc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondc
to this matrix and store the result indest
.Matrix3d.rotate
(Quaternionfc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaternionfc
to this matrix and store the result indest
.Apply rotation to this matrix by rotating the given amount of radians about the given axis specified as x, y and z components, and store the result indest
.Apply a rotation transformation, rotating the given radians about the specified axis and store the result indest
.Apply a rotation transformation, rotating the given radians about the specified axis and store the result indest
.Matrix3dc.rotate
(AxisAngle4d axisAngle, Matrix3d dest) Apply a rotation transformation, rotating about the givenAxisAngle4d
and store the result indest
.Matrix3dc.rotate
(AxisAngle4f axisAngle, Matrix3d dest) Apply a rotation transformation, rotating about the givenAxisAngle4f
and store the result indest
.Matrix3dc.rotate
(Quaterniondc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondc
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
.Matrix3d.rotateLocal
(double ang, double x, double y, double z, Matrix3d dest) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the specified(x, y, z)
axis and store the result indest
.Matrix3d.rotateLocal
(Quaterniondc quat, Matrix3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondc
to this matrix and store the result indest
.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
(double ang, double x, double y, double z, Matrix3d dest) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the specified(x, y, z)
axis and store the result indest
.Matrix3dc.rotateLocal
(Quaterniondc quat, Matrix3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondc
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
.Matrix3d.rotateLocalX
(double ang, Matrix3d dest) Pre-multiply a rotation around the X axis to this matrix by rotating the given amount of radians about the X axis and store the result indest
.Matrix3dc.rotateLocalX
(double ang, Matrix3d dest) Pre-multiply a rotation around the X axis to this matrix by rotating the given amount of radians about the X axis and store the result indest
.Matrix3d.rotateLocalY
(double ang, Matrix3d dest) Pre-multiply a rotation around the Y axis to this matrix by rotating the given amount of radians about the Y axis and store the result indest
.Matrix3dc.rotateLocalY
(double ang, Matrix3d dest) Pre-multiply a rotation around the Y axis to this matrix by rotating the given amount of radians about the Y axis and store the result indest
.Matrix3d.rotateLocalZ
(double ang, Matrix3d dest) Pre-multiply a rotation around the Z axis to this matrix by rotating the given amount of radians about the Z axis and store the result indest
.Matrix3dc.rotateLocalZ
(double ang, Matrix3d dest) Pre-multiply a rotation around the Z axis to this matrix by rotating the given amount of radians about the Z axis and store the result indest
.Matrix3d.rotateTowards
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ, Matrix3d dest) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdir
and store the result indest
.Matrix3d.rotateTowards
(Vector3dc direction, Vector3dc up, Matrix3d dest) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdirection
and store the result indest
.Matrix3dc.rotateTowards
(double dirX, double dirY, double dirZ, double upX, double upY, double upZ, Matrix3d dest) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdir
and store the result indest
.Matrix3dc.rotateTowards
(Vector3dc direction, Vector3dc up, Matrix3d dest) Apply a model transformation to this matrix for a right-handed coordinate system, that aligns the local+Z
axis withdirection
and store the result indest
.Apply rotation about the X axis to this matrix by rotating the given amount of radians and store the result indest
.Apply rotation ofangleX
radians about the X axis, followed by a rotation ofangleY
radians about the Y axis and followed by a rotation ofangleZ
radians about the Z axis and store the result indest
.Apply rotation about the Y axis to this matrix by rotating the given amount of radians and store the result indest
.Apply rotation ofangleY
radians about the Y axis, followed by a rotation ofangleX
radians about the X axis and followed by a rotation ofangleZ
radians about the Z axis and store the result indest
.Apply rotation about the Z axis to this matrix by rotating the given amount of radians and store the result indest
.Apply rotation ofangleZ
radians about the Z axis, followed by a rotation ofangleY
radians about the Y axis and followed by a rotation ofangleX
radians about the X axis and store the result indest
.Apply scaling to this matrix by scaling the base axes by the given x, y and z factors and store the result indest
.Apply scaling to this matrix by uniformly scaling all base axes by the givenxyz
factor and store the result indest
.Apply scaling tothis
matrix by scaling the base axes by the givenxyz.x
,xyz.y
andxyz.z
factors, respectively and store the result indest
.Matrix3d.scaleLocal
(double x, double y, double z, Matrix3d dest) Matrix3dc.scaleLocal
(double x, double y, double z, Matrix3d dest) Pre-multiply scaling tothis
matrix by scaling the base axes by the given x, y and z factors and store the result indest
.Component-wise subtractsubtrahend
fromthis
and store the result indest
.Exchange the values ofthis
matrix with the givenother
matrix.Transposethis
matrix and store the result indest
.Matrix4d.transpose3x3
(Matrix3d dest) Matrix4dc.transpose3x3
(Matrix3d dest) Transpose only the upper left 3x3 submatrix of this matrix and store the result indest
.Matrix4x3d.transpose3x3
(Matrix3d dest) Matrix4x3dc.transpose3x3
(Matrix3d dest) Transpose only the left 3x3 submatrix of this matrix and store the result indest
.