linearly v0.32.0Docs


linearly v0.32.0 / mat3 / projection

Function: projection()

projection(width, height): mat3

Generates a 2D projection matrix with the given bounds

Parameters

width: number

height: number

Returns

mat3

Defined in

src/mat3.ts:487open in new window