Class and associated functions for Matrix
transformations.
- class Transformable a
- translate :: Transformable a => Double -> Double -> a -> a
- scale :: Transformable a => Double -> Double -> a -> a
- rotate :: Transformable a => Double -> a -> a
Documentation
class Transformable a Source
Values that can be transformed in relation to a Matrix
.
translate :: Transformable a => Double -> Double -> a -> aSource
Translation in x and y.
scale :: Transformable a => Double -> Double -> a -> aSource
Scaling in x and y.
rotate :: Transformable a => Double -> a -> aSource
Rotation, in radians.