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

Data.Vector.Transform.T3

Description

3-dimensional linear transformations.

Synopsis

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

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