AC-Vector-2.1.0: Efficient geometric vectors and transformations.

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

Constructors

Transform4 

transformP4 :: Transform4 -> Vector4 -> Vector4Source

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