Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class Transformable a
- scale :: Transformable a => V3 Double -> a -> a
- uScale :: Transformable a => Double -> a -> a
- rotate :: Transformable a => V3 Double -> Double -> a -> a
- translate :: Transformable a => V3 Double -> a -> a
- mirror :: Transformable a => V3 Double -> a -> a
Documentation
class Transformable a Source #
Typeclass for objects that can be manipulated in 3D space
Instances
Transformable Path Source # | |
Transformable Solid Source # | |
Transformable (V3 Double) Source # | |
Defined in Waterfall.Transforms |
scale :: Transformable a => V3 Double -> a -> a Source #
Scale by different amounts along the x, y and z axes
uScale :: Transformable a => Double -> a -> a Source #
Scale uniformally along all axes