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