Safe Haskell | None |
---|---|
Language | Haskell2010 |
In addition to providing isomorphisms between GL and linear
vector, point, and matrix types, this module also provides
Uniform
instances for linear's matrix types.
- m44GLmatrix :: MatrixComponent a => Iso' (M44 a) (GLmatrix a)
- vertex1P :: Iso' (Point V1 a) (Vertex1 a)
- vertex2P :: Iso' (Point V2 a) (Vertex2 a)
- vertex3P :: Iso' (Point V3 a) (Vertex3 a)
- vertex4P :: Iso' (Point V4 a) (Vertex4 a)
- vector1V :: Iso' (V1 a) (Vector1 a)
- vector2V :: Iso' (V2 a) (Vector2 a)
- vector3V :: Iso' (V3 a) (Vector3 a)
- vector4V :: Iso' (V4 a) (Vector4 a)
Matrices
m44GLmatrix :: MatrixComponent a => Iso' (M44 a) (GLmatrix a) Source #
An isomorphism between GL and linear four-dimensional matrices
Points
vertex1P :: Iso' (Point V1 a) (Vertex1 a) Source #
An isomorphism between GL and linear one-dimensional points
vertex2P :: Iso' (Point V2 a) (Vertex2 a) Source #
An isomorphism between GL and linear two-dimensional points
vertex3P :: Iso' (Point V3 a) (Vertex3 a) Source #
An isomorphism between GL and linear three-dimensional points
vertex4P :: Iso' (Point V4 a) (Vertex4 a) Source #
An isomorphism between GL and linear four-dimensional points
Vectors
vector1V :: Iso' (V1 a) (Vector1 a) Source #
An isomorphism between GL and linear one-dimensional vectors
vector2V :: Iso' (V2 a) (Vector2 a) Source #
An isomorphism between GL and linear two-dimensional vectors