AC-Vector-2.4.0: Efficient geometric vectors and transformations.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Vector.Transform.T4

Description

4-dimensional linear transformations.

Synopsis

Documentation

data Transform4 Source #

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).

transformP4 :: Transform4 -> Vector4 -> Vector4 Source #

Apply a 4D transformation to a 4D point, yielding a new 4D point.