linearly v0.32.0Docs


linearly v0.32.0 / mat3 / rotation

Function: rotation()

rotation(deg): mat3

Alias for fromRotation

Parameters

deg: number

The angle to rotate the matrix by, in degrees

Returns

mat3

Shorthands

Defined in

src/mat3.ts:357open in new window