Creates a new 4x4 matrix with the specified elements.
The internal data is stored in column-major order in a Float32Array.
The parameters e(column)(row) correspond to the following matrix positions: \
| e00 e10 e20 e30 |
| e01 e11 e21 e31 |
| e02 e12 e22 e32 |
| e03 e13 e23 e33 |
The elements array stores each column sequentialy:
[e00, e01, e02, e03, e10, e11, e12, e13, e20, e21, e22, e23, e30, e31, e32, e33]
element in column 0, row 0
element in column 0, row 1
element in column 0, row 2
element in column 0, row 3
element in column 1, row 0
element in column 1, row 1
element in column 1, row 2
element in column 1, row 3
element in column 2, row 0
element in column 2, row 1
element in column 2, row 2
element in column 2, row 3
element in column 3, row 0
element in column 3, row 1
element in column 3, row 2
element in column 3, row 3
StaticidentityStaticzeroSets all elements (mutates this)
element in column 0, row 0
element in column 0, row 1
element in column 0, row 2
element in column 0, row 3
element in column 1, row 0
element in column 1, row 1
element in column 1, row 2
element in column 1, row 3
element in column 2, row 0
element in column 2, row 1
element in column 2, row 2
element in column 2, row 3
element in column 3, row 0
element in column 3, row 1
element in column 3, row 2
element in column 3, row 3
this instance, for method chaining
Copies all elements from other matrix (mutates this)
other matrix
this instance, for method chaining
Sets rotation matrix from quaternion (mutates this)
this instance, for method chaining
Multiplies all elements by scalar (mutates this)
this instance, for method chaining
Divides all elements by scalar (mutates this)
this instance, for method chaining
Multiplies rotation matrix to this instance (mutates this)
rotation quaternion
this instance, for method chaining
Calculates determinant of this matrix (pure)
determinant of this matrix
Sets inverse of this matrix to this instance (mutates this)
this instance for method chaining if this is invertible, null otherwise
Sets projection matrix of orthographic camera (mutates this)
left boundary of the view frustum (negative X coordinate)
right boundary of the view frustum (positive X coordinate)
bottom boundary of the view frustum (negative Y coordinate)
top boundary of the view frustum (positive Y coordinate)
near clipping plane distance (positive value)
far clipping plane distance (positive value)
Optionaloptions: ProjectionOptionsoptions for orthographic projection matrix
this instance, for method chaining
Sets projection matrix of perspective camera (mutates this)
vertical field of view in radians
near clipping plane distance
far clipping plane distance
aspect ratio (width / height)
Optionaloptions: ProjectionOptionsoptions for perspective projection matrix
this instance, for method chaining
4x4 matrix class. It looks column-major order. And post multiplied.