linearly v0.32.0Docs


linearly v0.32.0 / mat4 / rotate

Function: rotate()

rotate(a, deg, axis): mat4 | null

Rotates a mat4 by the given angle around the given axis

Parameters

a: mat4

deg: number

axis: vec3

Returns

mat4 | null

Defined in

src/mat4.ts:382open in new window