class Matrix3
implements Matrix
Re-export
import { Matrix3 } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";
( class Matrix3 implements Matrix )
Methods
clone(): this
determinant(): number
deprecated
flattenToArrayOffset(array: number[], offset: number): number[]Sets the values of this matrix from the provided array.
Sets the values of this matrix from the provided array-like.
getInverse(matrix: Matrix3): Matrix3
getInverse(matrix: Matrix4, throwOnDegenerate?: boolean): Matrix3
getNormalMatrix(matrix4: Matrix4): Matrix3
multiplyMatrices(a: Matrix3, b: Matrix3): Matrix3
Sets this matrix to a x b.
multiplyScalar(s: number): Matrix3
deprecated
multiplyVector3(vector: Vector3): anydeprecated
multiplyVector3Array(a: any): anypremultiply(m: Matrix3): Matrix3
setFromMatrix4(m: Matrix4): Matrix3
setUvTransform(): Matrix3
tx: number,
ty: number,
sx: number,
sy: number,
rotation: number,
cx: number,
cy: number,
toArray(array?: number[], offset?: number): number[]
Returns an array with the values of this matrix, or copies them into the provided array.
toArray(array?: ArrayLike<number>, offset?: number): ArrayLike<number>
Copies he values of this matrix into the provided array-like.
transposeIntoArray(r: number[]): Matrix3
Transposes this matrix into the supplied array r, and returns itself.