| Modifier and Type | Method and Description |
|---|---|
Matrix3f |
Quaternionf.get(Matrix3f dest)
Set the given destination matrix to the rotation represented by
this. |
Matrix3f |
Matrix3f.get(Matrix3f dest)
Get the current values of
this matrix and store them into
dest. |
Matrix3f |
Matrix4f.get3x3(Matrix3f dest)
Get the current values of the upper left 3x3 submatrix of
this matrix and store them into
dest. |
Matrix3f |
Matrix3f.identity()
Set this matrix to the identity.
|
Matrix3f |
Matrix3f.invert()
Invert this matrix.
|
Matrix3f |
Matrix3f.invert(Matrix3f dest)
Invert the
this matrix and store the result in dest. |
Matrix3f |
Matrix3f.lookAlong(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ)
Apply a rotation transformation to this matrix to make
-z point along dir. |
Matrix3f |
Matrix3f.lookAlong(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ,
Matrix3f dest)
Apply a rotation transformation to this matrix to make
-z point along dir
and store the result in dest. |
Matrix3f |
Matrix3f.lookAlong(Vector3f dir,
Vector3f up)
Apply a rotation transformation to this matrix to make
-z point along dir. |
Matrix3f |
Matrix3f.lookAlong(Vector3f dir,
Vector3f up,
Matrix3f dest)
Apply a rotation transformation to this matrix to make
-z point along dir
and store the result in dest. |
Matrix3f |
Matrix3f.m00(float m00)
Set the value of the matrix element at column 0 and row 0
|
Matrix3f |
Matrix3f.m01(float m01)
Set the value of the matrix element at column 0 and row 1
|
Matrix3f |
Matrix3f.m02(float m02)
Set the value of the matrix element at column 0 and row 2
|
Matrix3f |
Matrix3f.m10(float m10)
Set the value of the matrix element at column 1 and row 0
|
Matrix3f |
Matrix3f.m11(float m11)
Set the value of the matrix element at column 1 and row 1
|
Matrix3f |
Matrix3f.m12(float m12)
Set the value of the matrix element at column 1 and row 2
|
Matrix3f |
Matrix3f.m20(float m20)
Set the value of the matrix element at column 2 and row 0
|
Matrix3f |
Matrix3f.m21(float m21)
Set the value of the matrix element at column 2 and row 1
|
Matrix3f |
Matrix3f.m22(float m22)
Set the value of the matrix element at column 2 and row 2
|
Matrix3f |
Matrix3f.mul(Matrix3f right)
Multiply this matrix by the supplied
right matrix. |
Matrix3f |
Matrix3f.mul(Matrix3f right,
Matrix3f dest)
Multiply this matrix by the supplied
right matrix and store the result in dest. |
Matrix3f |
Matrix3f.normal()
Set
this matrix to its own normal matrix. |
Matrix3f |
Matrix4f.normal(Matrix3f dest)
Compute a normal matrix from the upper left 3x3 submatrix of
this
and store it into dest. |
Matrix3f |
Matrix3f.normal(Matrix3f dest)
Compute a normal matrix from
this matrix and store it into dest. |
Matrix3f |
Matrix4f.normalize3x3(Matrix3f dest)
Normalize the upper left 3x3 submatrix of this matrix and store the result in
dest. |
Matrix3f |
Matrix3f.rotate(float ang,
float x,
float y,
float z)
Apply rotation to this matrix by rotating the given amount of radians
about the given axis specified as x, y and z components.
|
Matrix3f |
Matrix3f.rotate(float ang,
float x,
float y,
float z,
Matrix3f dest)
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 in
dest. |
Matrix3f |
Matrix3f.rotate(float angle,
Vector3f axis)
Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.
|
Matrix3f |
Matrix3f.rotate(float angle,
Vector3f axis,
Matrix3f dest)
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in
dest. |
Matrix3f |
Matrix3f.rotate(Quaternionf quat)
Apply the rotation transformation of the given
Quaternionf to this matrix. |
Matrix3f |
Matrix3f.rotate(Quaternionf quat,
Matrix3f dest)
Apply the rotation transformation of the given
Quaternionf to this matrix and store
the result in dest. |
Matrix3f |
Matrix3f.rotateLocal(float ang,
float x,
float y,
float z)
Pre-multiply a rotation to this matrix by rotating the given amount of radians
about the specified (x, y, z) axis.
|
Matrix3f |
Matrix3f.rotateLocal(float ang,
float x,
float y,
float z,
Matrix3f 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 in
dest. |
Matrix3f |
Matrix3f.rotateLocal(Quaternionf quat)
Pre-multiply the rotation transformation of the given
Quaternionf to this matrix. |
Matrix3f |
Matrix3f.rotateLocal(Quaternionf quat,
Matrix3f dest)
Pre-multiply the rotation transformation of the given
Quaternionf to this matrix and store
the result in dest. |
Matrix3f |
Matrix3f.rotateX(float ang)
Apply rotation about the X axis to this matrix by rotating the given amount of radians.
|
Matrix3f |
Matrix3f.rotateX(float ang,
Matrix3f dest)
Apply rotation about the X axis to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix3f |
Matrix3f.rotateXYZ(float angleX,
float angleY,
float angleZ)
Apply rotation of
angleX radians about the X axis, followed by a rotation of angleY radians about the Y axis and
followed by a rotation of angleZ radians about the Z axis. |
Matrix3f |
Matrix3f.rotateXYZ(float angleX,
float angleY,
float angleZ,
Matrix3f dest)
Apply rotation of
angleX radians about the X axis, followed by a rotation of angleY radians about the Y axis and
followed by a rotation of angleZ radians about the Z axis and store the result in dest. |
Matrix3f |
Matrix3f.rotateY(float ang)
Apply rotation about the Y axis to this matrix by rotating the given amount of radians.
|
Matrix3f |
Matrix3f.rotateY(float ang,
Matrix3f dest)
Apply rotation about the Y axis to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix3f |
Matrix3f.rotateZ(float ang)
Apply rotation about the Z axis to this matrix by rotating the given amount of radians.
|
Matrix3f |
Matrix3f.rotateZ(float ang,
Matrix3f dest)
Apply rotation about the Z axis to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix3f |
Matrix3f.rotateZYX(float angleZ,
float angleY,
float angleX)
Apply rotation of
angleZ radians about the Z axis, followed by a rotation of angleY radians about the Y axis and
followed by a rotation of angleX radians about the X axis. |
Matrix3f |
Matrix3f.rotateZYX(float angleZ,
float angleY,
float angleX,
Matrix3f dest)
Apply rotation of
angleZ radians about the Z axis, followed by a rotation of angleY radians about the Y axis and
followed by a rotation of angleX radians about the X axis and store the result in dest. |
Matrix3f |
Matrix3f.rotation(float angle,
float x,
float y,
float z)
Set this matrix to a rotation matrix which rotates the given radians about a given axis.
|
Matrix3f |
Matrix3f.rotation(float angle,
Vector3f axis)
Set this matrix to a rotation matrix which rotates the given radians about a given axis.
|
Matrix3f |
Matrix3f.rotation(Quaternionf quat)
Set this matrix to the rotation transformation of the given
Quaternionf. |
Matrix3f |
Matrix3f.rotationX(float ang)
Set this matrix to a rotation transformation about the X axis.
|
Matrix3f |
Matrix3f.rotationXYZ(float angleX,
float angleY,
float angleZ)
Set this matrix to a rotation of
angleX radians about the X axis, followed by a rotation
of angleY radians about the Y axis and followed by a rotation of angleZ radians about the Z axis. |
Matrix3f |
Matrix3f.rotationY(float ang)
Set this matrix to a rotation transformation about the Y axis.
|
Matrix3f |
Matrix3f.rotationYXZ(float angleY,
float angleX,
float angleZ)
Set this matrix to a rotation of
angleY radians about the Y axis, followed by a rotation
of angleX radians about the X axis and followed by a rotation of angleZ radians about the Z axis. |
Matrix3f |
Matrix3f.rotationZ(float ang)
Set this matrix to a rotation transformation about the Z axis.
|
Matrix3f |
Matrix3f.rotationZYX(float angleZ,
float angleY,
float angleX)
Set this matrix to a rotation of
angleZ radians about the Z axis, followed by a rotation
of angleY radians about the Y axis and followed by a rotation of angleX radians about the X axis. |
Matrix3f |
Matrix3f.scale(float xyz)
Apply scaling to this matrix by uniformly scaling all base axes by the given
xyz factor. |
Matrix3f |
Matrix3f.scale(float x,
float y,
float z)
Apply scaling to this matrix by scaling the base axes by the given x,
y and z factors.
|
Matrix3f |
Matrix3f.scale(float x,
float y,
float z,
Matrix3f dest)
Apply scaling to this matrix by scaling the base axes by the given x,
y and z factors and store the result in
dest. |
Matrix3f |
Matrix3f.scale(float xyz,
Matrix3f dest)
Apply scaling to this matrix by uniformly scaling all base axes by the given
xyz factor
and store the result in dest. |
Matrix3f |
Matrix3f.scale(Vector3f xyz)
Apply scaling to this matrix by scaling the base axes by the given xyz.x,
xyz.y and xyz.z factors, respectively.
|
Matrix3f |
Matrix3f.scale(Vector3f xyz,
Matrix3f dest)
Apply scaling to the this matrix by scaling the base axes by the given xyz.x,
xyz.y and xyz.z factors, respectively and store the result in
dest. |
Matrix3f |
Matrix3f.scaleLocal(float x,
float y,
float z)
Pre-multiply scaling to this matrix by scaling the base axes by the given x,
y and z factors.
|
Matrix3f |
Matrix3f.scaleLocal(float x,
float y,
float z,
Matrix3f dest)
Pre-multiply scaling to the this matrix by scaling the base axes by the given x,
y and z factors and store the result in
dest. |
Matrix3f |
Matrix3f.scaling(float factor)
Set this matrix to be a simple scale matrix, which scales all axes uniformly by the given factor.
|
Matrix3f |
Matrix3f.scaling(float x,
float y,
float z)
Set this matrix to be a simple scale matrix.
|
Matrix3f |
Matrix3f.scaling(Vector3f xyz)
Set this matrix to be a simple scale matrix which scales the base axes by xyz.x, xyz.y and xyz.z respectively.
|
Matrix3f |
Matrix3f.set(ByteBuffer buffer)
Set the values of this matrix by reading 9 float values from the given
ByteBuffer in column-major order,
starting at its current position. |
Matrix3f |
Matrix3f.set(float[] m)
Set the values in this matrix based on the supplied float array.
|
Matrix3f |
Matrix3f.set(FloatBuffer buffer)
Set the values of this matrix by reading 9 float values from the given
FloatBuffer in column-major order,
starting at its current position. |
Matrix3f |
Matrix3f.set(float m00,
float m01,
float m02,
float m10,
float m11,
float m12,
float m20,
float m21,
float m22)
Set the values within this matrix to the supplied float values.
|
Matrix3f |
Matrix3f.set(Matrix3f m)
Set the elements of this matrix to the ones in
m. |
Matrix3f |
Matrix3f.set(Matrix4f mat)
Set the elements of this matrix to the upper left 3x3 of the given
Matrix4f. |
Matrix3f |
Matrix3f.set(Quaternionf q)
Set this matrix to be equivalent to the rotation specified by the given
Quaternionf. |
Matrix3f |
Matrix3f.setLookAlong(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ)
Set this matrix to a rotation transformation to make
-z
point along dir. |
Matrix3f |
Matrix3f.setLookAlong(Vector3f dir,
Vector3f up)
Set this matrix to a rotation transformation to make
-z
point along dir. |
Matrix3f |
Matrix3f.swap(Matrix3f other)
Exchange the values of
this matrix with the given other matrix. |
Matrix3f |
Matrix3f.transpose()
Transpose this matrix.
|
Matrix3f |
Matrix3f.transpose(Matrix3f dest)
Transpose
this matrix and store the result in dest. |
Matrix3f |
Matrix4f.transpose3x3(Matrix3f dest)
Transpose only the upper left 3x3 submatrix of this matrix and store the result in
dest. |
Matrix3f |
Matrix3f.zero()
Set all values within this matrix to zero.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix3f |
Quaternionf.get(Matrix3f dest)
Set the given destination matrix to the rotation represented by
this. |
Matrix3f |
Matrix3f.get(Matrix3f dest)
Get the current values of
this matrix and store them into
dest. |
Matrix3f |
Matrix4f.get3x3(Matrix3f dest)
Get the current values of the upper left 3x3 submatrix of
this matrix and store them into
dest. |
Matrix3f |
Matrix3f.invert(Matrix3f dest)
Invert the
this matrix and store the result in dest. |
Matrix3f |
Matrix3f.lookAlong(float dirX,
float dirY,
float dirZ,
float upX,
float upY,
float upZ,
Matrix3f dest)
Apply a rotation transformation to this matrix to make
-z point along dir
and store the result in dest. |
Matrix3f |
Matrix3f.lookAlong(Vector3f dir,
Vector3f up,
Matrix3f dest)
Apply a rotation transformation to this matrix to make
-z point along dir
and store the result in dest. |
Vector3f |
Vector3f.mul(Matrix3f mat)
Multiply this Vector3f by the given matrix and store the result in
this. |
Matrix3f |
Matrix3f.mul(Matrix3f right)
Multiply this matrix by the supplied
right matrix. |
Matrix3f |
Matrix3f.mul(Matrix3f right,
Matrix3f dest)
Multiply this matrix by the supplied
right matrix and store the result in dest. |
Vector3f |
Vector3f.mul(Matrix3f mat,
Vector3f dest)
Multiply this Vector3f by the given matrix and store the result in
dest. |
Matrix3f |
Matrix4f.normal(Matrix3f dest)
Compute a normal matrix from the upper left 3x3 submatrix of
this
and store it into dest. |
Matrix3f |
Matrix3f.normal(Matrix3f dest)
Compute a normal matrix from
this matrix and store it into dest. |
Matrix3f |
Matrix4f.normalize3x3(Matrix3f dest)
Normalize the upper left 3x3 submatrix of this matrix and store the result in
dest. |
Matrix3f |
Matrix3f.rotate(float ang,
float x,
float y,
float z,
Matrix3f dest)
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 in
dest. |
Matrix3f |
Matrix3f.rotate(float angle,
Vector3f axis,
Matrix3f dest)
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in
dest. |
Matrix3f |
Matrix3f.rotate(Quaternionf quat,
Matrix3f dest)
Apply the rotation transformation of the given
Quaternionf to this matrix and store
the result in dest. |
Matrix3f |
Matrix3f.rotateLocal(float ang,
float x,
float y,
float z,
Matrix3f 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 in
dest. |
Matrix3f |
Matrix3f.rotateLocal(Quaternionf quat,
Matrix3f dest)
Pre-multiply the rotation transformation of the given
Quaternionf to this matrix and store
the result in dest. |
Matrix3f |
Matrix3f.rotateX(float ang,
Matrix3f dest)
Apply rotation about the X axis to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix3f |
Matrix3f.rotateXYZ(float angleX,
float angleY,
float angleZ,
Matrix3f dest)
Apply rotation of
angleX radians about the X axis, followed by a rotation of angleY radians about the Y axis and
followed by a rotation of angleZ radians about the Z axis and store the result in dest. |
Matrix3f |
Matrix3f.rotateY(float ang,
Matrix3f dest)
Apply rotation about the Y axis to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix3f |
Matrix3f.rotateZ(float ang,
Matrix3f dest)
Apply rotation about the Z axis to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix3f |
Matrix3f.rotateZYX(float angleZ,
float angleY,
float angleX,
Matrix3f dest)
Apply rotation of
angleZ radians about the Z axis, followed by a rotation of angleY radians about the Y axis and
followed by a rotation of angleX radians about the X axis and store the result in dest. |
Matrix3f |
Matrix3f.scale(float x,
float y,
float z,
Matrix3f dest)
Apply scaling to this matrix by scaling the base axes by the given x,
y and z factors and store the result in
dest. |
Matrix3f |
Matrix3f.scale(float xyz,
Matrix3f dest)
Apply scaling to this matrix by uniformly scaling all base axes by the given
xyz factor
and store the result in dest. |
Matrix3f |
Matrix3f.scale(Vector3f xyz,
Matrix3f dest)
Apply scaling to the this matrix by scaling the base axes by the given xyz.x,
xyz.y and xyz.z factors, respectively and store the result in
dest. |
Matrix3f |
Matrix3f.scaleLocal(float x,
float y,
float z,
Matrix3f dest)
Pre-multiply scaling to the this matrix by scaling the base axes by the given x,
y and z factors and store the result in
dest. |
Matrix4f |
Matrix4f.set(Matrix3f mat)
|
Matrix3f |
Matrix3f.set(Matrix3f m)
Set the elements of this matrix to the ones in
m. |
Matrix4f |
Matrix4f.set3x3(Matrix3f mat)
|
Quaternionf |
Quaternionf.setFromNormalized(Matrix3f mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaternionf |
Quaternionf.setFromUnnormalized(Matrix3f mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Matrix3f |
Matrix3f.swap(Matrix3f other)
Exchange the values of
this matrix with the given other matrix. |
Matrix3f |
Matrix3f.transpose(Matrix3f dest)
Transpose
this matrix and store the result in dest. |
Matrix3f |
Matrix4f.transpose3x3(Matrix3f dest)
Transpose only the upper left 3x3 submatrix of this matrix and store the result in
dest. |
| Constructor and Description |
|---|
Matrix3f(Matrix3f mat)
Create a new
Matrix3f and make it a copy of the given matrix. |
Matrix4f(Matrix3f mat)
|
Copyright © 2015–2016 JOML. All rights reserved.