[name]
A 3x3 matrix.
Constructor
[name]()
Creates and initializes the 3x3 matrix to the identity matrix.
Properties
[property:Float32Array elements]
A column-major list of matrix values.
Methods
[method:Matrix3 transpose]()
Transposes this matrix in place.
[method:Matrix3 transposeIntoArray]( [page:Array array] )
array -- [page:Array]
Transposes this matrix into the supplied array, and returns itself unchanged.
[method:Float determinant]()
Computes and returns the determinant of this matrix.
[method:Matrix3 set]([page:Float n11], [page:Float n12], [page:Float n13], [page:Float n21], [page:Float n22], [page:Float n23], [page:Float n31], [page:Float n32], [page:Float n33]) [page:Matrix3 this]
n11 -- [page:Float]
n12 -- [page:Float]
n13 -- [page:Float]
n21 -- [page:Float]
n22 -- [page:Float]
n23 -- [page:Float]
n31 -- [page:Float]
n32 -- [page:Float]
n33 -- [page:Float]
Sets the 3x3 matrix values to the given row-major sequence of values.
[method:Matrix3 multiplyScalar]([page:Float s]) [page:Matrix3 this]
scalar -- [page:Float]
Multiplies every component of the matrix by the scalar value *s*.
[method:Array applyToVector3Array]([page:Array array])
array -- An array in the form [vector1x, vector1y, vector1z, vector2x, vector2y, vector2z, ...]
Multiplies (applies) this matrix to every vector3 in the array.
[method:Matrix3 getNormalMatrix]([page:Matrix4 m]) [page:Matrix3 this]
m -- [page:Matrix4]
Sets this matrix as the normal matrix (upper left 3x3)of the passed [page:Matrix4 matrix4]. The normal matrix is the inverse transpose of the matrix *m*.
[method:Matrix3 getInverse]([page:Matrix4 m], [page:Boolean throwOnInvertible]) [page:Matrix3 this]
m -- [page:Matrix4]
throwOnInvertible -- [Page:Boolean] If true, throw an error if the matrix is invertible.
Set this matrix to the inverse of the passed matrix.
[method:Matrix3 copy]([page:Matrix3 m]) [page:Matrix3 this]
m -- [page:Matrix4]
Copies the values of matrix *m* into this matrix.
[method:Matrix3 clone]()
Creates a copy of this matrix.
[method:Matrix3 identity]() [page:Matrix3 this]
Resets this matrix to identity.
1, 0, 0
0, 1, 0
0, 0, 1
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]