Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
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
translate :: Transformable a => Double -> Double -> a -> a Source
Translation in x and y.
scale :: Transformable a => Double -> Double -> a -> a Source
Scaling in x and y.
rotate :: Transformable a => Double -> a -> a Source
Rotation, in radians.