Scenic.Math.Matrix.rotate
You're seeing just the function
rotate
, go back to Scenic.Math.Matrix module for more information.
Specs
rotate(matrix :: Scenic.Math.matrix(), angle :: number() | nil) :: Scenic.Math.matrix()
Multiply a matrix by a rotation.
Parameters:
- matrix: The incoming source matrix
- angle: the amount to rotate, in radians or nil (which does nothing
Returns: A binary matrix