linearly v0.32.0Docs


linearly v0.32.0 / mat4

Type Alias: mat4

mat4: readonly [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]

4x4 Matrix representing 3D affine transformation. The format is column-major, when typed out it looks like row-major. The matrices are being post multiplied.

[xx, xy, xz, 0,
 yx, yy, yz, 0,
 zx, zy, zz, 0,
 tx, ty, tz, 1]

Defined in

src/mat4.ts:16open in new window