import { Matrix4 } from "https://deno.land/x/gmath@0.1.12/src/matrix4.ts";
Methods
col(n: ):
| 0
| 1
| 2
| 3
[
number,
number,
number,
number,
]determinant(): number
diag():
[
number,
number,
number,
number,
]isFinite(): boolean
row(n: ):
| 0
| 1
| 2
| 3
[
number,
number,
number,
number,
]toArray():
[]
[
, number,
number,
number,
number,
][
, number,
number,
number,
number,
][
, number,
number,
number,
number,
][
, number,
number,
number,
number,
]toFloat32Array(): Float32Array
trace(): number
Static Methods
from()
c0r0: number,
c0r1: number,
c0r2: number,
c0r3: number,
c1r0: number,
c1r1: number,
c1r2: number,
c1r3: number,
c2r0: number,
c2r1: number,
c2r2: number,
c2r3: number,
c3r0: number,
c3r1: number,
c3r2: number,
c3r3: number,
Constructs a Matrix4 from individual elements
fromAngleX(theta: Angle): Matrix4
fromAngleY(theta: Angle): Matrix4
fromAngleZ(theta: Angle): Matrix4
fromAxisAngle(axis: Vector3, angle: Angle): Matrix4
fromDecomposed(decomposed: Decomposed3): Matrix4
fromNonuniformScale(): Matrix4
x: number,
y: number,
z: number,
fromPerspective(perspective: Perspective): Matrix4
fromQuaternion(quaternion: Quaternion): Matrix4
fromTranslation(translation: Vector3): Matrix4