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

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

Constructors

Transform3 

Fields

t3_XX :: !Scalar
 
t3_YX :: !Scalar
 
t3_ZX :: !Scalar
 
t3_1X :: !Scalar
 
t3_XY :: !Scalar
 
t3_YY :: !Scalar
 
t3_ZY :: !Scalar
 
t3_1Y :: !Scalar
 
t3_XZ :: !Scalar
 
t3_YZ :: !Scalar
 
t3_ZZ :: !Scalar
 
t3_1Z :: !Scalar
 

transformP3 :: Transform3 -> Vector3 -> Vector3Source

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