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

Safe HaskellSafe
LanguageHaskell98

Data.Vector.Transform.T3

Description

3-dimensional linear transformations.

Synopsis

Documentation

data Transform3 #

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 -> Vector3 #

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