Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Class and associated functions for Matrix
transformations.
- class Transformable t where
- translate :: Transformable t => Double -> Double -> t -> t
- scale :: Transformable t => Double -> Double -> t -> t
- rotate :: Transformable t => Double -> t -> t
Documentation
class Transformable t where Source #
Values that can be transformed in relation to a Matrix
.
mtransform :: Matrix Double -> t -> t Source #
rotate :: Transformable t => Double -> t -> t Source #
Rotation, in radians.