Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Data.Vector.Transform.T4
Description
4-dimensional linear transformations.
Documentation
data Transform4 #
The type of 4D 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
Transform4 | |
Instances
transformP4 :: Transform4 -> Vector4 -> Vector4 #
Apply a 4D transformation to a 4D point, yielding a new 4D point.