linearly v0.32.0Docs


linearly v0.32.0 / mat2d / identity

Variable: identity

const identity: mat2d

The identity matrix of mat2d

[1, 0,
 0, 1,
 0, 0]

Shorthands

Defined in

src/mat2d.ts:83open in new window