Creates an identity matrix.
Creates a 3x3 matrix with the given arguments in row-major order.
Use .toArray() instead.
Optional
throwOnDegenerate: booleanUse .invert() instead.
Sets this matrix as a 2D rotational transformation by theta radians. The resulting matrix will be:
cos(θ) -sin(θ) 0
sin(θ) cos(θ) 0
0 0 1
Rotation angle in radians. Positive values rotate counterclockwise.
Use vector.applyMatrix3( matrix ) instead.
Returns an array with the values of this matrix, or copies them into the provided array.
Optional
array: number[](optional) array to store the matrix to. If this is not provided, a new array will be created.
Optional
offset: number(optional) optional offset into the array.
The created or provided array.
Optional
array: Matrix3TupleOptional
offset: 0Copies he values of this matrix into the provided array-like.
Optional
array: ArrayLike<number>array-like to store the matrix to.
Optional
offset: number(optional) optional offset into the array-like.
The provided array-like.
Static
from
Serializable THREE.js Matrix3