Copyright | (c) Sven Panne 2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This package contains tensor data types and their instances for some basic type classes.
Documentation
A vertex with y=0, z=0 and w=1.
Vertex1 a |
Functor Vertex1 Source | |
Applicative Vertex1 Source | |
Foldable Vertex1 Source | |
Traversable Vertex1 Source | |
Bounded a => Bounded (Vertex1 a) Source | |
Eq a => Eq (Vertex1 a) Source | |
Ord a => Ord (Vertex1 a) Source | |
Read a => Read (Vertex1 a) Source | |
Show a => Show (Vertex1 a) Source | |
Ix a => Ix (Vertex1 a) Source | |
Storable a => Storable (Vertex1 a) Source | |
VertexAttribComponent a => VertexAttrib (Vertex1 a) Source |
A vertex with z=0 and w=1.
Vertex2 !a !a |
Functor Vertex2 Source | |
Applicative Vertex2 Source | |
Foldable Vertex2 Source | |
Traversable Vertex2 Source | |
TrimmingPoint Vertex2 Source | |
Bounded a => Bounded (Vertex2 a) Source | |
Eq a => Eq (Vertex2 a) Source | |
Ord a => Ord (Vertex2 a) Source | |
Read a => Read (Vertex2 a) Source | |
Show a => Show (Vertex2 a) Source | |
Ix a => Ix (Vertex2 a) Source | |
Storable a => Storable (Vertex2 a) Source | |
VertexAttribComponent a => VertexAttrib (Vertex2 a) Source | |
VertexComponent a => Vertex (Vertex2 a) Source | |
WindowPosComponent a => WindowPos (Vertex2 a) Source | |
RasterPosComponent a => RasterPos (Vertex2 a) Source | |
UniformComponent a => Uniform (Vertex2 a) Source |
A vertex with w=1.
Vertex3 !a !a !a |
Functor Vertex3 Source | |
Applicative Vertex3 Source | |
Foldable Vertex3 Source | |
Traversable Vertex3 Source | |
ControlPoint Vertex3 Source | |
TrimmingPoint Vertex3 Source | |
Bounded a => Bounded (Vertex3 a) Source | |
Eq a => Eq (Vertex3 a) Source | |
Ord a => Ord (Vertex3 a) Source | |
Read a => Read (Vertex3 a) Source | |
Show a => Show (Vertex3 a) Source | |
Ix a => Ix (Vertex3 a) Source | |
Storable a => Storable (Vertex3 a) Source | |
VertexAttribComponent a => VertexAttrib (Vertex3 a) Source | |
VertexComponent a => Vertex (Vertex3 a) Source | |
WindowPosComponent a => WindowPos (Vertex3 a) Source | |
RasterPosComponent a => RasterPos (Vertex3 a) Source | |
UniformComponent a => Uniform (Vertex3 a) Source |
A fully-fledged four-dimensional vertex.
Vertex4 !a !a !a !a |
Functor Vertex4 Source | |
Applicative Vertex4 Source | |
Foldable Vertex4 Source | |
Traversable Vertex4 Source | |
ControlPoint Vertex4 Source | |
Bounded a => Bounded (Vertex4 a) Source | |
Eq a => Eq (Vertex4 a) Source | |
Ord a => Ord (Vertex4 a) Source | |
Read a => Read (Vertex4 a) Source | |
Show a => Show (Vertex4 a) Source | |
Ix a => Ix (Vertex4 a) Source | |
Storable a => Storable (Vertex4 a) Source | |
VertexAttribComponent a => VertexAttrib (Vertex4 a) Source | |
VertexComponent a => Vertex (Vertex4 a) Source | |
RasterPosComponent a => RasterPos (Vertex4 a) Source | |
UniformComponent a => Uniform (Vertex4 a) Source |
A one-dimensional vector.
Vector1 a |
Functor Vector1 Source | |
Applicative Vector1 Source | |
Foldable Vector1 Source | |
Traversable Vector1 Source | |
Bounded a => Bounded (Vector1 a) Source | |
Eq a => Eq (Vector1 a) Source | |
Ord a => Ord (Vector1 a) Source | |
Read a => Read (Vector1 a) Source | |
Show a => Show (Vector1 a) Source | |
Ix a => Ix (Vector1 a) Source | |
Storable a => Storable (Vector1 a) Source | |
VertexAttribComponent a => VertexAttrib (Vector1 a) Source |
A two-dimensional vector.
Vector2 !a !a |
Functor Vector2 Source | |
Applicative Vector2 Source | |
Foldable Vector2 Source | |
Traversable Vector2 Source | |
Bounded a => Bounded (Vector2 a) Source | |
Eq a => Eq (Vector2 a) Source | |
Ord a => Ord (Vector2 a) Source | |
Read a => Read (Vector2 a) Source | |
Show a => Show (Vector2 a) Source | |
Ix a => Ix (Vector2 a) Source | |
Storable a => Storable (Vector2 a) Source | |
VertexAttribComponent a => VertexAttrib (Vector2 a) Source |
A three-dimensional vector.
Vector3 !a !a !a |
Functor Vector3 Source | |
Applicative Vector3 Source | |
Foldable Vector3 Source | |
Traversable Vector3 Source | |
Bounded a => Bounded (Vector3 a) Source | |
Eq a => Eq (Vector3 a) Source | |
Ord a => Ord (Vector3 a) Source | |
Read a => Read (Vector3 a) Source | |
Show a => Show (Vector3 a) Source | |
Ix a => Ix (Vector3 a) Source | |
Storable a => Storable (Vector3 a) Source | |
VertexAttribComponent a => VertexAttrib (Vector3 a) Source |
A four-dimensional vector.
Vector4 !a !a !a !a |
Functor Vector4 Source | |
Applicative Vector4 Source | |
Foldable Vector4 Source | |
Traversable Vector4 Source | |
Bounded a => Bounded (Vector4 a) Source | |
Eq a => Eq (Vector4 a) Source | |
Ord a => Ord (Vector4 a) Source | |
Read a => Read (Vector4 a) Source | |
Show a => Show (Vector4 a) Source | |
Ix a => Ix (Vector4 a) Source | |
Storable a => Storable (Vector4 a) Source | |
VertexAttribComponent a => VertexAttrib (Vector4 a) Source |