Copyright | (c) 2016 Martin Buck |
---|---|
License | see LICENSE |
Safe Haskell | None |
Language | Haskell2010 |
Containing functions used to interact with OpenGL
- colorRGB :: GlColorRGB -> IO ()
- colorRGBA :: GlColorRGBA -> IO ()
- addAlpha :: GLfloat -> GlColorRGB -> GlColorRGBA
- translate2 :: GlPosX -> GlPosY -> IO ()
- scale2 :: GlScaleX -> GlScaleY -> IO ()
- text :: String -> RenderInstruction
- rotate2 :: Double -> IO ()
- point2 :: GlPosX -> GlPosY -> GlPoint2
- point3 :: GlPosX -> GlPosY -> GlPosZ -> GlPoint3
- vertex3 :: GlPosX -> GlPosY -> GlPosZ -> GlVer3
Documentation
colorRGB :: GlColorRGB -> IO () Source #
Renders a RGB color
colorRGBA :: GlColorRGBA -> IO () Source #
Renders a RGBA color
addAlpha :: GLfloat -> GlColorRGB -> GlColorRGBA Source #
Adds an alpha value to a RGB color, turning it into a RGBA color
text :: String -> RenderInstruction Source #
Transforms a string to a RenderInstruction