| Modifier and Type | Field and Description |
|---|---|
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Matrix4f | |
| public float | Returns: the determinant of the matrixImplements abstract org. |
| private static float | Returns: resultCalculate the determinant of a 3x3 matrix |
| public Matrix | Returns: this if successful, null otherwiseImplements abstract org. |
| public static Matrix4f | |
| public Matrix4f | |
| public static Matrix4f | |
| public Matrix | Returns: thisA float buffer to read from buf)Implements abstract org. |
| public Matrix | Returns: thisA float buffer to read from buf)Implements abstract org. |
| public static Matrix4f | |
| public Matrix | |
| public Matrix4f | |
| public static Matrix4f | |
| public Matrix4f | |
| public Matrix4f | |
| public static Matrix4f | Returns: The rotated matrixthe angle, in radians. angle, Vector3f The vector representing the rotation axis. Must be normalized. axis, Matrix4f The matrix to rotate src, Matrix4f The matrix to put the result, or null if a new matrix is to be created dest)Rotates the source matrix around the given axis the specified angle and put the result in the destination matrix. |
| public Matrix4f | |
| public static Matrix4f | |
| public Matrix | Returns: thisImplements abstract org. |
| public static Matrix4f | Returns: mThe matrix to set to the identity m)Set the given matrix to be the identity matrix. |
| public Matrix | Returns: thisImplements abstract org. |
| public static Matrix4f | |
| public Matrix | store(FloatBuffer
The buffer to store this matrix in buf)Implements abstract org. |
| public Matrix | store3f(FloatBuffer
The buffer to store this matrix in buf)Store the rotation portion of this matrix in a float buffer. |
| public Matrix | storeTranspose(FloatBuffer
The buffer to store this matrix in buf)Implements abstract org. |
| public static Matrix4f | |
| public String | |
| public static Vector4f | |
| public Matrix4f | |
| public Matrix4f | |
| public Matrix4f | |
| public static Matrix4f | |
| public Matrix4f | |
| public static Matrix4f | |
| public Matrix | Returns: thisImplements abstract org. |
| public Matrix4f | |
| public static Matrix4f |
| m00 | back to summary |
|---|---|
| public float m00 | |
| m01 | back to summary |
|---|---|
| public float m01 | |
| m02 | back to summary |
|---|---|
| public float m02 | |
| m03 | back to summary |
|---|---|
| public float m03 | |
| m10 | back to summary |
|---|---|
| public float m10 | |
| m11 | back to summary |
|---|---|
| public float m11 | |
| m12 | back to summary |
|---|---|
| public float m12 | |
| m13 | back to summary |
|---|---|
| public float m13 | |
| m20 | back to summary |
|---|---|
| public float m20 | |
| m21 | back to summary |
|---|---|
| public float m21 | |
| m22 | back to summary |
|---|---|
| public float m22 | |
| m23 | back to summary |
|---|---|
| public float m23 | |
| m30 | back to summary |
|---|---|
| public float m30 | |
| m31 | back to summary |
|---|---|
| public float m31 | |
| m32 | back to summary |
|---|---|
| public float m32 | |
| m33 | back to summary |
|---|---|
| public float m33 | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Matrix4f | back to summary |
|---|---|
| public Matrix4f() Construct a new matrix, initialized to the identity. | |
| Matrix4f | back to summary |
|---|---|
| public Matrix4f(final Matrix4f src) | |
| add | back to summary |
|---|---|
| public static Matrix4f add(Matrix4f left, Matrix4f right, Matrix4f dest) Add two matrices together and place the result in a third matrix. | |
| determinant | back to summary |
|---|---|
| public float determinant() Implements abstract org.
| |
| determinant3x3 | back to summary |
|---|---|
| private static float determinant3x3(float t00, float t01, float t02, float t10, float t11, float t12, float t20, float t21, float t22) Calculate the determinant of a 3x3 matrix
| |
| invert | back to summary |
|---|---|
| public Matrix invert() Implements abstract org. Invert this matrix
| |
| invert | back to summary |
|---|---|
| public static Matrix4f invert(Matrix4f src, Matrix4f dest) Invert the source matrix and put the result in the destination | |
| load | back to summary |
|---|---|
| public Matrix4f load(Matrix4f src) Load from another matrix4f | |
| load | back to summary |
|---|---|
| public static Matrix4f load(Matrix4f src, Matrix4f dest) Copy the source matrix to the destination matrix | |
| load | back to summary |
|---|---|
| public Matrix load(FloatBuffer buf) Implements abstract org. Load from a float buffer. The buffer stores the matrix in column major (OpenGL) order.
| |
| loadTranspose | back to summary |
|---|---|
| public Matrix loadTranspose(FloatBuffer buf) Implements abstract org. Load from a float buffer. The buffer stores the matrix in row major (maths) order.
| |
| mul | back to summary |
|---|---|
| public static Matrix4f mul(Matrix4f left, Matrix4f right, Matrix4f dest) Multiply the right matrix by the left and place the result in a third matrix. | |
| negate | back to summary |
|---|---|
| public Matrix negate() Implements abstract org. Negate this matrix
| |
| negate | back to summary |
|---|---|
| public Matrix4f negate(Matrix4f dest) Negate this matrix and place the result in a destination matrix. | |
| negate | back to summary |
|---|---|
| public static Matrix4f negate(Matrix4f src, Matrix4f dest) Negate this matrix and place the result in a destination matrix. | |
| rotate | back to summary |
|---|---|
| public Matrix4f rotate(float angle, Vector3f axis) Rotates the matrix around the given axis the specified angle | |
| rotate | back to summary |
|---|---|
| public Matrix4f rotate(float angle, Vector3f axis, Matrix4f dest) Rotates the matrix around the given axis the specified angle | |
| rotate | back to summary |
|---|---|
| public static Matrix4f rotate(float angle, Vector3f axis, Matrix4f src, Matrix4f dest) Rotates the source matrix around the given axis the specified angle and put the result in the destination matrix. | |
| scale | back to summary |
|---|---|
| public Matrix4f scale(Vector3f vec) Scales this matrix | |
| scale | back to summary |
|---|---|
| public static Matrix4f scale(Vector3f vec, Matrix4f src, Matrix4f dest) Scales the source matrix and put the result in the destination matrix | |
| setIdentity | back to summary |
|---|---|
| public Matrix setIdentity() Implements abstract org. Set this matrix to be the identity matrix.
| |
| setIdentity | back to summary |
|---|---|
| public static Matrix4f setIdentity(Matrix4f m) Set the given matrix to be the identity matrix. | |
| setZero | back to summary |
|---|---|
| public Matrix setZero() Implements abstract org. Set this matrix to 0.
| |
| setZero | back to summary |
|---|---|
| public static Matrix4f setZero(Matrix4f m) Set the given matrix to 0. | |
| store | back to summary |
|---|---|
| public Matrix store(FloatBuffer buf) Implements abstract org. Store this matrix in a float buffer. The matrix is stored in column major (openGL) order.
| |
| store3f | back to summary |
|---|---|
| public Matrix store3f(FloatBuffer buf) Store the rotation portion of this matrix in a float buffer. The matrix is stored in column major (openGL) order.
| |
| storeTranspose | back to summary |
|---|---|
| public Matrix storeTranspose(FloatBuffer buf) Implements abstract org. Store this matrix in a float buffer. The matrix is stored in row major (maths) order.
| |
| sub | back to summary |
|---|---|
| public static Matrix4f sub(Matrix4f left, Matrix4f right, Matrix4f dest) Subtract the right matrix from the left and place the result in a third matrix. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this matrix
| |
| transform | back to summary |
|---|---|
| public static Vector4f transform(Matrix4f left, Vector4f right, Vector4f dest) Transform a Vector by a matrix and return the result in a destination vector. | |
| translate | back to summary |
|---|---|
| public Matrix4f translate(Vector2f vec) Translate this matrix | |
| translate | back to summary |
|---|---|
| public Matrix4f translate(Vector3f vec) Translate this matrix | |
| translate | back to summary |
|---|---|
| public Matrix4f translate(Vector3f vec, Matrix4f dest) Translate this matrix and stash the result in another matrix | |
| translate | back to summary |
|---|---|
| public static Matrix4f translate(Vector3f vec, Matrix4f src, Matrix4f dest) Translate the source matrix and stash the result in the destination matrix | |
| translate | back to summary |
|---|---|
| public Matrix4f translate(Vector2f vec, Matrix4f dest) Translate this matrix and stash the result in another matrix | |
| translate | back to summary |
|---|---|
| public static Matrix4f translate(Vector2f vec, Matrix4f src, Matrix4f dest) Translate the source matrix and stash the result in the destination matrix | |
| transpose | back to summary |
|---|---|
| public Matrix transpose() Implements abstract org. Transpose this matrix
| |
| transpose | back to summary |
|---|---|
| public Matrix4f transpose(Matrix4f dest) Transpose this matrix and place the result in another matrix | |
| transpose | back to summary |
|---|---|
| public static Matrix4f transpose(Matrix4f src, Matrix4f dest) Transpose the source matrix and place the result in the destination matrix | |