import { Matrix3 } from "https://deno.land/x/gmath@0.1.12/src/matrix3.ts";
Methods
col(n: 0 | 1 | 2): [number, number, number]
determinant(): number
diag(): [number, number, number]
isFinite(): boolean
row(n: 0 | 1 | 2): [number, number, number]
toArray(): [[number, number, number], [number, number, number], [number, number, number]]
toFloat32Array(): Float32Array
trace(): number
Static Methods
from()
c0r0: number,
c0r1: number,
c0r2: number,
c1r0: number,
c1r1: number,
c1r2: number,
c2r0: number,
c2r1: number,
c2r2: number,
Constructs a Matrix3 from individual elements
fromAngleX(theta: Angle): Matrix3
fromAngleY(theta: Angle): Matrix3
fromAngleZ(theta: Angle): Matrix3
fromAxisAngle(axis: Vector3, angle: Angle): Matrix3
fromDecomposed(decomposed: Decomposed2): Matrix3
fromNonuniformScale(x: number, y: number): Matrix3
fromQuaternion(quaternion: Quaternion): Matrix3
fromTranslation(translation: Vector2): Matrix3