Scenic.Math.Matrix.build_rotation
You're seeing just the function
build_rotation
, go back to Scenic.Math.Matrix module for more information.
Specs
build_rotation(angle :: number()) :: Scenic.Math.matrix()
Build a matrix that represents a 2D rotation around the origin.
Parameters:
- angle: the amount to rotate, in radians
Returns: A binary matrix