Skip to content

Documentation / @ripl/core / matrixRotate

Function: matrixRotate()

matrixRotate(angle): Matrix

Defined in: packages/core/src/math/matrix.ts:32

Returns a rotation matrix for the given angle, in radians.

Parameters

ParameterType
anglenumber

Returns

Matrix