Generically handle transforms, and things that are transformable.
- class HasSpace t => Transform t where
- class Transform t => Rotate t axis1 axis2 where
- class HasSpace x => Transformable x where
Class for transforms.
Transform a vector.
Build transform: translate by the given vector.
Build transform: scale each coordinate axis according to the given vector.
Build transform: scale all axies uniformly.
Class for performing rotationes. (The rotations that exist vary with the number of spatial dimensions available.)
Build transform: rotate in the plane defined by the two axies.
Class for things that can be transformed. Includes instances for all the vector types.