| Safe Haskell | Safe-Infered | 
|---|
Data.Vector.Transform.T2
Description
2-dimensional linear transformations.
- data Transform2 = Transform2 {}
 - transformP2 :: Transform2 -> Vector2 -> Vector2
 
Documentation
data Transform2 Source
The type of 2D linear transformations.
Note the Monoid instance, which gives you access to the identity transform (mempty) and the ability to combine a series of transforms into a single transform (mappend).
Constructors
| Transform2 | |
Instances
transformP2 :: Transform2 -> Vector2 -> Vector2Source
Apply a 2D transformation to a 2D point, yielding a new 2D point.