ContentsIndex
Graphics.Plot.Primitive
Description
Helpers to generate simple primitives not defined by GL.Picture.
Synopsis
lineLoop :: Path -> Component
rectangleWC :: Float -> Float -> Component
rectangleSC :: Float -> Float -> Component
recListC :: Float -> Float -> Path
rectangleWU :: Float -> Float -> Component
rectangleSU :: Float -> Float -> Component
recListU :: Float -> Float -> Path
recList1 :: Float -> Float -> Path
Documentation
lineLoop :: Path -> Component
Closes a path by adding an additional point to the end, which equals the point at the start.
rectangleWC :: Float -> Float -> Component
A wireframe rectangle centered about the origin.
rectangleSC :: Float -> Float -> Component
A solid rectangle centered about the origin.
recListC :: Float -> Float -> Path
A path representing a rectangle centered about the origin.
rectangleWU :: Float -> Float -> Component
A wireframe rectangle in the y > 0 half of the x-y plane.
rectangleSU :: Float -> Float -> Component
recListU :: Float -> Float -> Path
recList1 :: Float -> Float -> Path
A wireframe rectangle in the first quadrant of the x-y plane.
Produced by Haddock version 0.7