| Modifier and Type | Field and Description |
|---|---|
| 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 Matrix2f | |
| public float | |
| public Matrix | Returns: this if successful, null otherwiseImplements abstract org. |
| public static Matrix2f | |
| public Matrix2f | |
| public static Matrix2f | |
| 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 Matrix2f | |
| public Matrix | |
| public Matrix2f | |
| public static Matrix2f | |
| public Matrix | Returns: thisImplements abstract org. |
| public static Matrix2f | Returns: The source matrixThe matrix to set to the identity. src)Set the source matrix to be the identity matrix. |
| public Matrix | Returns: thisImplements abstract org. |
| public static Matrix2f | |
| public Matrix | store(FloatBuffer
The buffer to store this matrix in buf)Implements abstract org. |
| public Matrix | storeTranspose(FloatBuffer
The buffer to store this matrix in buf)Implements abstract org. |
| public static Matrix2f | |
| public String | |
| public static Vector2f | |
| public Matrix | Returns: thisImplements abstract org. |
| public Matrix2f | |
| public static Matrix2f |
| m00 | back to summary |
|---|---|
| public float m00 | |
| m01 | back to summary |
|---|---|
| public float m01 | |
| m10 | back to summary |
|---|---|
| public float m10 | |
| m11 | back to summary |
|---|---|
| public float m11 | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Matrix2f | back to summary |
|---|---|
| public Matrix2f() Constructor for Matrix2f. The matrix is initialised to the identity. | |
| Matrix2f | back to summary |
|---|---|
| public Matrix2f(Matrix2f src) Constructor | |
| add | back to summary |
|---|---|
| public static Matrix2f add(Matrix2f left, Matrix2f right, Matrix2f dest) Add two matrices together and place the result in a third matrix. | |
| determinant | back to summary |
|---|---|
| public float determinant() Implements abstract org.
| |
| invert | back to summary |
|---|---|
| public Matrix invert() Implements abstract org. Invert this matrix
| |
| invert | back to summary |
|---|---|
| public static Matrix2f invert(Matrix2f src, Matrix2f dest) Invert the source matrix and place the result in the destination matrix. | |
| load | back to summary |
|---|---|
| public Matrix2f load(Matrix2f src) Load from another matrix | |
| load | back to summary |
|---|---|
| public static Matrix2f load(Matrix2f src, Matrix2f 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 (mathematical) order.
| |
| mul | back to summary |
|---|---|
| public static Matrix2f mul(Matrix2f left, Matrix2f right, Matrix2f 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 Matrix2f negate(Matrix2f dest) Negate this matrix and stash the result in another matrix. | |
| negate | back to summary |
|---|---|
| public static Matrix2f negate(Matrix2f src, Matrix2f dest) Negate the source matrix and stash 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 Matrix2f setIdentity(Matrix2f src) Set the source 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 Matrix2f setZero(Matrix2f src) | |
| 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.
| |
| 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 Matrix2f sub(Matrix2f left, Matrix2f right, Matrix2f 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 Vector2f transform(Matrix2f left, Vector2f right, Vector2f dest) Transform a Vector by a matrix and return the result in a destination vector. | |
| transpose | back to summary |
|---|---|
| public Matrix transpose() Implements abstract org. Transpose this matrix
| |
| transpose | back to summary |
|---|---|
| public Matrix2f transpose(Matrix2f dest) Transpose this matrix and place the result in another matrix. | |
| transpose | back to summary |
|---|---|
| public static Matrix2f transpose(Matrix2f src, Matrix2f dest) Transpose the source matrix and place the result in the destination matrix. | |