linearly v0.32.0Docs


linearly v0.32.0 / mat3

Type Alias: mat3

mat3: readonly [number, number, number, number, number, number, number, number, number]

Represents 2D affine transformation (translation, rotation, scaling, and skewing). The format is column-major as in WebGL, so the matrix looks like this:

[xx, xy, 0
 yx, yy, 0
 tx, ty, 1]

Defined in

src/mat3.ts:18open in new window