Copyright | (c) Sven Panne 2002-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module corresponds to section 2.13 (Current Raster Position) of the OpenGL 2.1 specs.
Documentation
class RasterPosComponent a Source #
rasterPos2, rasterPos3, rasterPos4, rasterPos2v, rasterPos3v, rasterPos4v
Instances
class RasterPos a where Source #
Instances
RasterPosComponent a => RasterPos (Vertex4 a) Source # | |
RasterPosComponent a => RasterPos (Vertex3 a) Source # | |
RasterPosComponent a => RasterPos (Vertex2 a) Source # | |
class WindowPosComponent a Source #
windowPos2, windowPos3, windowPos2v, windowPos3v
Instances
WindowPosComponent GLshort Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos windowPos2 :: GLshort -> GLshort -> IO () windowPos3 :: GLshort -> GLshort -> GLshort -> IO () windowPos2v :: Ptr GLshort -> IO () windowPos3v :: Ptr GLshort -> IO () | |
WindowPosComponent GLint Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos windowPos2 :: GLint -> GLint -> IO () windowPos3 :: GLint -> GLint -> GLint -> IO () windowPos2v :: Ptr GLint -> IO () windowPos3v :: Ptr GLint -> IO () | |
WindowPosComponent GLfloat Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos windowPos2 :: GLfloat -> GLfloat -> IO () windowPos3 :: GLfloat -> GLfloat -> GLfloat -> IO () windowPos2v :: Ptr GLfloat -> IO () windowPos3v :: Ptr GLfloat -> IO () | |
WindowPosComponent GLdouble Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos windowPos2 :: GLdouble -> GLdouble -> IO () windowPos3 :: GLdouble -> GLdouble -> GLdouble -> IO () windowPos2v :: Ptr GLdouble -> IO () windowPos3v :: Ptr GLdouble -> IO () |