linearly v0.32.0Docs


linearly v0.32.0 / mat2

Type Alias: mat2

mat2: readonly [number, number, number, number]

Represents 2D transformation exclude translation. The format is column-major as in WebGL, so the matrix looks like this:

[xx, xy,
 yx, yy]

Defined in

src/mat2.ts:14open in new window