Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- coloredQuad :: Vec4 -> Quad (Vertex Packed Vec4)
- texturedQuad :: Quad (Vertex Packed Vec2)
- data Quad a = Quad {}
- toVertices :: Quad (Vertex pos attrs) -> [Vertex pos attrs]
- toVertices2 :: Quad (Vertex pos attrs) -> [Vertex pos attrs]
- indicesQuad :: Num a => [a]
- indicesWire :: Num a => [a]
- indices :: Num a => Quad a
- quadPositions :: Quad Packed
- quadUV :: Quad Vec2
- quadNormals :: Quad Packed
Documentation
coloredQuad :: Vec4 -> Quad (Vertex Packed Vec4) Source #
texturedQuad :: Quad (Vertex Packed Vec2) Source #
Instances
toVertices :: Quad (Vertex pos attrs) -> [Vertex pos attrs] Source #
2 clockwise ordered triangles
toVertices2 :: Quad (Vertex pos attrs) -> [Vertex pos attrs] Source #
indicesQuad :: Num a => [a] Source #
indicesWire :: Num a => [a] Source #
quadPositions :: Quad Packed Source #
quadNormals :: Quad Packed Source #