- set
Sets the matrix to the given matrix as a float array. The float array must have
at least 16 elements
- <init>
Constructs a matrix from the given float array. The array must have at least 16
elements; the first
- translate
Postmultiplies this matrix by a translation matrix. Postmultiplication is also
used by OpenGL ES' gl
- rotate
Postmultiplies this matrix by the rotation between two vectors.
- getTranslation
- mul
Multiplies the matrix mata with matrix matb, storing the result in mata. The
arrays are assumed to h
- setToOrtho2D
Sets this matrix to an orthographic projection matrix with the origin at (x,y)
extending by width an
- scale
Postmultiplies this matrix with a scale matrix. Postmultiplication is also used
by OpenGL ES' 1.x gl
- setToLookAt
Sets this matrix to a look at matrix with the given position, target and up
vector.
- idt
Sets the matrix to an identity matrix.
- inv
Computes the inverse of the given matrix. The matrix array is assumed to hold a
4x4 column major mat
- setToTranslation
Sets this matrix to a translation matrix, overwriting it first by an identity
matrix and then settin