Copyright | (c) 2016 Martin Buck |
---|---|
License | see LICENSE |
Safe Haskell | None |
Language | Haskell2010 |
Containing basic shapes which can be used to define more complex ones through combination
- borderedRectangle :: GlWidth -> GlHeight -> GlThickness -> GlColorRGB -> GlColorRGBA -> RenderInstruction
- line :: GlPoint2 -> GlPoint2 -> GlThickness -> RenderInstruction
- wireFrame :: GlWidth -> GlHeight -> GlThickness -> RenderInstruction
- rectangle :: GlWidth -> GlHeight -> RenderInstruction
- ring :: GlRadius -> GlThickness -> RenderInstruction
- circle :: GlRadius -> RenderInstruction
Documentation
borderedRectangle :: GlWidth -> GlHeight -> GlThickness -> GlColorRGB -> GlColorRGBA -> RenderInstruction Source #
A bordered rectangle define by width, height, thickness and two colors
line :: GlPoint2 -> GlPoint2 -> GlThickness -> RenderInstruction Source #
A line defined by its start and end points and a thickness
wireFrame :: GlWidth -> GlHeight -> GlThickness -> RenderInstruction Source #
A wireframe defined by width heigh and thickness (the borders of a box)
rectangle :: GlWidth -> GlHeight -> RenderInstruction Source #
A rectangle defined by width and height
ring :: GlRadius -> GlThickness -> RenderInstruction Source #
A ring defined by its radius and thickness
circle :: GlRadius -> RenderInstruction Source #
A circle defined by its radius