Constructors constructor new Mat3 ( elements ? ) : Mat3 Parameters elements : Float32Array = ... Properties elements elements : Float32Array
Methods set set ( n11 , n12 , n13 , n21 , n22 , n23 , n31 , n32 , n33 ) : Mat3 Parameters n11 : number n12 : number n13 : number n21 : number n22 : number n23 : number n31 : number n32 : number n33 : number
this Mat3 after being set
identity identity ( ) : Mat3
this Mat3 after being set
set From Array set From Array ( array ? ) : Mat3 Parameters array : number [] | Float32Array = ...
this Mat3 after being set
copy copy ( matrix ? ) : Mat3
this Mat3 after being set
set From Mat4 set From Mat4 ( matrix ? ) : Mat3
this Mat3 after being set.
multiply multiply ( matrix ? ) : Mat3
this Mat3 after multiplication
premultiply premultiply ( matrix ? ) : Mat3
this Mat3 after multiplication
multiply Matrices multiply Matrices ( a ? , b ? ) : Mat3
Mat3 resulting from the multiplication
invert invert ( ) : Mat3
this Mat3 after being inverted
transpose transpose ( ) : Mat3
this Mat3 after being transposed
get Normal Matrix get Normal Matrix ( matrix ? ) : Mat3
this Mat3 after being inverted and transposed
Basic 3x3 matrix class used for matrix calculations.
Note that like three.js, the constructor and set method take arguments in row-major order, while internally they are stored in the elements array in column-major order.
See