Safe Haskell | Safe-Infered |
---|
3-dimensional linear transformations.
Documentation
data Transform3 Source
The type of 3D 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
).
transformP3 :: Transform3 -> Vector3 -> Vector3Source
Apply a 3D transformation to a 3D point, yielding a new 3D point.