(figl low-level support)
#:export
(gluBeginCurve
+ gluEndCurve
gluBeginPolygon
+ gluEndPolygon
gluBeginSurface
+ gluEndSurface
gluBeginTrim
+ gluEndTrim
gluBuild1DMipmapLevels
gluBuild1DMipmaps
gluBuild2DMipmapLevels
gluScaleImage
gluSphere
gluTessBeginContour
+ gluTessEndContour
gluTessBeginPolygon
gluTessCallback
gluTessEndPolygon
gluUnProject))
(define-gl-procedure
- gluBeginCurve
- "gluBeginCurve"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluBeginCurve"))
- (paramdef "GLUnurbs* " (parameter "nurb"))))
+ ((gluBeginCurve (nurb *) -> void)
+ (gluEndCurve (nurb *) -> void))
"Delimit a NURBS curve definition.
NURB
calls preserve.")
(define-gl-procedure
- gluBeginPolygon
- "gluBeginPolygon"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluBeginPolygon"))
- (paramdef "GLUtesselator* " (parameter "tess"))))
+ ((gluBeginPolygon (tess *) -> void)
+ (gluEndPolygon (tess *) -> void))
"Delimit a polygon description.
TESS
`gluTessCallback' for descriptions of the callback functions.")
(define-gl-procedure
- gluBeginSurface
- "gluBeginSurface"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluBeginSurface"))
- (paramdef "GLUnurbs* " (parameter "nurb"))))
+ ((gluBeginSurface (nurb *) -> void)
+ (gluEndSurface (nurb *) -> void))
"Delimit a NURBS surface definition.
NURB
reference page for details on exactly what state these calls preserve.")
(define-gl-procedure
- gluBeginTrim
- "gluBeginTrim"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluBeginTrim"))
- (paramdef "GLUnurbs* " (parameter "nurb"))))
+ ((gluBeginTrim (nurb *) -> void)
+ (gluEndTrim (nurb *) -> void))
"Delimit a NURBS trimming loop definition.
NURB
surface is drawn.")
(define-gl-procedure
- gluBuild1DMipmapLevels
- "gluBuild1DMipmapLevels"
- (funcsynopsis
- (funcprototype
- (funcdef
- "GLint "
- (function "gluBuild1DMipmapLevels"))
- (paramdef "GLenum " (parameter "target"))
- (paramdef "GLint " (parameter "internalFormat"))
- (paramdef "GLsizei " (parameter "width"))
- (paramdef "GLenum " (parameter "format"))
- (paramdef "GLenum " (parameter "type"))
- (paramdef "GLint " (parameter "level"))
- (paramdef "GLint " (parameter "base"))
- (paramdef "GLint " (parameter "max"))
- (paramdef "const void * " (parameter "data"))))
+ ((gluBuild1DMipmapLevels
+ (target GLenum)
+ (internalFormat GLint)
+ (width GLsizei)
+ (format GLenum)
+ (type GLenum)
+ (level GLint)
+ (base GLint)
+ (max GLint)
+ (data *)
+ ->
+ GLint))
"Builds a subset of one-dimensional mipmap levels.
TARGET
FORMAT is neither `GLU_RGBA' nor `GLU_BGRA'.")
(define-gl-procedure
- gluBuild1DMipmaps
- "gluBuild1DMipmaps"
- (funcsynopsis
- (funcprototype
- (funcdef "GLint " (function "gluBuild1DMipmaps"))
- (paramdef "GLenum " (parameter "target"))
- (paramdef "GLint " (parameter "internalFormat"))
- (paramdef "GLsizei " (parameter "width"))
- (paramdef "GLenum " (parameter "format"))
- (paramdef "GLenum " (parameter "type"))
- (paramdef "const void * " (parameter "data"))))
+ ((gluBuild1DMipmaps
+ (target GLenum)
+ (internalFormat GLint)
+ (width GLsizei)
+ (format GLenum)
+ (type GLenum)
+ (data *)
+ ->
+ GLint))
"Builds a one-dimensional mipmap.
TARGET
FORMAT is neither `GLU_RGBA' nor `GLU_BGRA'.")
(define-gl-procedure
- gluBuild2DMipmapLevels
- "gluBuild2DMipmapLevels"
- (funcsynopsis
- (funcprototype
- (funcdef
- "GLint "
- (function "gluBuild2DMipmapLevels"))
- (paramdef "GLenum " (parameter "target"))
- (paramdef "GLint " (parameter "internalFormat"))
- (paramdef "GLsizei " (parameter "width"))
- (paramdef "GLsizei " (parameter "height"))
- (paramdef "GLenum " (parameter "format"))
- (paramdef "GLenum " (parameter "type"))
- (paramdef "GLint " (parameter "level"))
- (paramdef "GLint " (parameter "base"))
- (paramdef "GLint " (parameter "max"))
- (paramdef "const void * " (parameter "data"))))
+ ((gluBuild2DMipmapLevels
+ (target GLenum)
+ (internalFormat GLint)
+ (width GLsizei)
+ (height GLsizei)
+ (format GLenum)
+ (type GLenum)
+ (level GLint)
+ (base GLint)
+ (max GLint)
+ (data *)
+ ->
+ GLint))
"Builds a subset of two-dimensional mipmap levels.
TARGET
FORMAT is neither `GLU_RGBA' nor `GLU_BGRA'.")
(define-gl-procedure
- gluBuild2DMipmaps
- "gluBuild2DMipmaps"
- (funcsynopsis
- (funcprototype
- (funcdef "GLint " (function "gluBuild2DMipmaps"))
- (paramdef "GLenum " (parameter "target"))
- (paramdef "GLint " (parameter "internalFormat"))
- (paramdef "GLsizei " (parameter "width"))
- (paramdef "GLsizei " (parameter "height"))
- (paramdef "GLenum " (parameter "format"))
- (paramdef "GLenum " (parameter "type"))
- (paramdef "const void * " (parameter "data"))))
+ ((gluBuild2DMipmaps
+ (target GLenum)
+ (internalFormat GLint)
+ (width GLsizei)
+ (height GLsizei)
+ (format GLenum)
+ (type GLenum)
+ (data *)
+ ->
+ GLint))
"Builds a two-dimensional mipmap.
TARGET
FORMAT is neither `GLU_RGBA' nor `GLU_BGRA'.")
(define-gl-procedure
- gluBuild3DMipmapLevels
- "gluBuild3DMipmapLevels"
- (funcsynopsis
- (funcprototype
- (funcdef
- "GLint "
- (function "gluBuild3DMipmapLevels"))
- (paramdef "GLenum " (parameter "target"))
- (paramdef "GLint " (parameter "internalFormat"))
- (paramdef "GLsizei " (parameter "width"))
- (paramdef "GLsizei " (parameter "height"))
- (paramdef "GLsizei " (parameter "depth"))
- (paramdef "GLenum " (parameter "format"))
- (paramdef "GLenum " (parameter "type"))
- (paramdef "GLint " (parameter "level"))
- (paramdef "GLint " (parameter "base"))
- (paramdef "GLint " (parameter "max"))
- (paramdef "const void * " (parameter "data"))))
+ ((gluBuild3DMipmapLevels
+ (target GLenum)
+ (internalFormat GLint)
+ (width GLsizei)
+ (height GLsizei)
+ (depth GLsizei)
+ (format GLenum)
+ (type GLenum)
+ (level GLint)
+ (base GLint)
+ (max GLint)
+ (data *)
+ ->
+ GLint))
"Builds a subset of three-dimensional mipmap levels.
TARGET
FORMAT is neither `GLU_RGBA' nor `GLU_BGRA'.")
(define-gl-procedure
- gluBuild3DMipmaps
- "gluBuild3DMipmaps"
- (funcsynopsis
- (funcprototype
- (funcdef "GLint " (function "gluBuild3DMipmaps"))
- (paramdef "GLenum " (parameter "target"))
- (paramdef "GLint " (parameter "internalFormat"))
- (paramdef "GLsizei " (parameter "width"))
- (paramdef "GLsizei " (parameter "height"))
- (paramdef "GLsizei " (parameter "depth"))
- (paramdef "GLenum " (parameter "format"))
- (paramdef "GLenum " (parameter "type"))
- (paramdef "const void * " (parameter "data"))))
+ ((gluBuild3DMipmaps
+ (target GLenum)
+ (internalFormat GLint)
+ (width GLsizei)
+ (height GLsizei)
+ (depth GLsizei)
+ (format GLenum)
+ (type GLenum)
+ (data *)
+ ->
+ GLint))
"Builds a three-dimensional mipmap.
TARGET
FORMAT is neither `GLU_RGBA' nor `GLU_BGRA'.")
(define-gl-procedure
- gluCheckExtension
- "gluCheckExtension"
- (funcsynopsis
- (funcprototype
- (funcdef
- "GLboolean "
- (function "gluCheckExtension"))
- (paramdef
- "const GLubyte * "
- (parameter "extName"))
- (paramdef
- "const GLubyte * "
- (parameter "extString"))))
+ ((gluCheckExtension
+ (extName *)
+ (extString *)
+ ->
+ GLboolean))
"Determines if an extension name is supported.
EXTNAME
`glXQueryServerString', respectively, as EXTSTRING.")
(define-gl-procedure
- gluCylinder
- "gluCylinder"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluCylinder"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLdouble " (parameter "base"))
- (paramdef "GLdouble " (parameter "top"))
- (paramdef "GLdouble " (parameter "height"))
- (paramdef "GLint " (parameter "slices"))
- (paramdef "GLint " (parameter "stacks"))))
+ ((gluCylinder
+ (quad *)
+ (base GLdouble)
+ (top GLdouble)
+ (height GLdouble)
+ (slices GLint)
+ (stacks GLint)
+ ->
+ void))
"Draw a cylinder.
QUAD
at the +Y axis.")
(define-gl-procedure
- gluDeleteNurbsRenderer
- "gluDeleteNurbsRenderer"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluDeleteNurbsRenderer"))
- (paramdef "GLUnurbs* " (parameter "nurb"))))
+ ((gluDeleteNurbsRenderer (nurb *) -> void))
"Destroy a NURBS object.
NURB
`gluDeleteNurbsRenderer' has been called, NURB cannot be used again.")
(define-gl-procedure
- gluDeleteQuadric
- "gluDeleteQuadric"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluDeleteQuadric"))
- (paramdef "GLUquadric* " (parameter "quad"))))
+ ((gluDeleteQuadric (quad *) -> void))
"Destroy a quadrics object.
QUAD
has been called, QUAD cannot be used again.")
(define-gl-procedure
- gluDeleteTess
- "gluDeleteTess"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluDeleteTess"))
- (paramdef "GLUtesselator* " (parameter "tess"))))
+ ((gluDeleteTess (tess *) -> void))
"Destroy a tessellation object.
TESS
created with `gluNewTess') and frees any memory that it used.")
(define-gl-procedure
- gluDisk
- "gluDisk"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluDisk"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLdouble " (parameter "inner"))
- (paramdef "GLdouble " (parameter "outer"))
- (paramdef "GLint " (parameter "slices"))
- (paramdef "GLint " (parameter "loops"))))
+ ((gluDisk
+ (quad *)
+ (inner GLdouble)
+ (outer GLdouble)
+ (slices GLint)
+ (loops GLint)
+ ->
+ void))
"Draw a disk.
QUAD
is (0, 0.5), and at (0, \\-R, 0) it is (0.5, 0).")
(define-gl-procedure
- gluErrorString
- "gluErrorString"
- (funcsynopsis
- (funcprototype
- (funcdef
- "const GLubyte * "
- (function "gluErrorString"))
- (paramdef "GLenum " (parameter "error"))))
+ ((gluErrorString (error GLenum) -> *))
"Produce an error string from a GL or GLU error code.
ERROR
`NULL' is returned if ERROR is not a valid GL or GLU error code.")
(define-gl-procedure
- gluGetNurbsProperty
- "gluGetNurbsProperty"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluGetNurbsProperty"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "GLenum " (parameter "property"))
- (paramdef "GLfloat* " (parameter "data"))))
+ ((gluGetNurbsProperty
+ (nurb *)
+ (property GLenum)
+ (data *)
+ ->
+ void))
"Get a NURBS property.
NURB
about what the properties are and what they do.")
(define-gl-procedure
- gluGetString
- "gluGetString"
- (funcsynopsis
- (funcprototype
- (funcdef
- "const GLubyte * "
- (function "gluGetString"))
- (paramdef "GLenum " (parameter "name"))))
+ ((gluGetString (name GLenum) -> *))
"Return a string describing the GLU version or GLU extensions .
NAME
NULL is returned if NAME is not `GLU_VERSION' or `GLU_EXTENSIONS'.")
(define-gl-procedure
- gluGetTessProperty
- "gluGetTessProperty"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluGetTessProperty"))
- (paramdef "GLUtesselator* " (parameter "tess"))
- (paramdef "GLenum " (parameter "which"))
- (paramdef "GLdouble* " (parameter "data"))))
+ ((gluGetTessProperty
+ (tess *)
+ (which GLenum)
+ (data *)
+ ->
+ void))
"Get a tessellation object property.
TESS
information about the properties and what they do.")
(define-gl-procedure
- gluLoadSamplingMatrices
- "gluLoadSamplingMatrices"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluLoadSamplingMatrices"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "const GLfloat * " (parameter "model"))
- (paramdef
- "const GLfloat * "
- (parameter "perspective"))
- (paramdef "const GLint * " (parameter "view"))))
+ ((gluLoadSamplingMatrices
+ (nurb *)
+ (model *)
+ (perspective *)
+ (view *)
+ ->
+ void))
"Load NURBS sampling and culling matrices.
NURB
modelview matrix, projection matrix, and viewport.)")
(define-gl-procedure
- gluLookAt
- "gluLookAt"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluLookAt"))
- (paramdef "GLdouble " (parameter "eyeX"))
- (paramdef "GLdouble " (parameter "eyeY"))
- (paramdef "GLdouble " (parameter "eyeZ"))
- (paramdef "GLdouble " (parameter "centerX"))
- (paramdef "GLdouble " (parameter "centerY"))
- (paramdef "GLdouble " (parameter "centerZ"))
- (paramdef "GLdouble " (parameter "upX"))
- (paramdef "GLdouble " (parameter "upY"))
- (paramdef "GLdouble " (parameter "upZ"))))
+ ((gluLookAt
+ (eyeX GLdouble)
+ (eyeY GLdouble)
+ (eyeZ GLdouble)
+ (centerX GLdouble)
+ (centerY GLdouble)
+ (centerZ GLdouble)
+ (upX GLdouble)
+ (upY GLdouble)
+ (upZ GLdouble)
+ ->
+ void))
"Define a viewing transformation.
EYEX
glTranslated(-eyex, -eyey, -eyez);")
(define-gl-procedure
- gluNewNurbsRenderer
- "gluNewNurbsRenderer"
- (funcsynopsis
- (funcprototype
- (funcdef
- "GLUnurbs* "
- (function "gluNewNurbsRenderer"))))
+ ((gluNewNurbsRenderer -> *))
"Create a NURBS object.
`gluNewNurbsRenderer' creates and returns a pointer to a new NURBS
memory to allocate the object.")
(define-gl-procedure
- gluNewQuadric
- "gluNewQuadric"
- (funcsynopsis
- (funcprototype
- (funcdef
- "GLUquadric* "
- (function "gluNewQuadric"))))
+ ((gluNewQuadric -> *))
"Create a quadrics object.
`gluNewQuadric' creates and returns a pointer to a new quadrics object.
memory to allocate the object.")
(define-gl-procedure
- gluNewTess
- "gluNewTess"
- (funcsynopsis
- (funcprototype
- (funcdef
- "GLUtesselator* "
- (function "gluNewTess"))))
+ ((gluNewTess -> *))
"Create a tessellation object.
`gluNewTess' creates and returns a pointer to a new tessellation object.
object.")
(define-gl-procedure
- gluNextContour
- "gluNextContour"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluNextContour"))
- (paramdef "GLUtesselator* " (parameter "tess"))
- (paramdef "GLenum " (parameter "type"))))
+ ((gluNextContour (tess *) (type GLenum) -> void))
"Mark the beginning of another contour.
TESS
followed by `gluTessBeginContour'.")
(define-gl-procedure
- gluNurbsCallbackDataEXT
- "gluNurbsCallbackDataEXT"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluNurbsCallbackDataEXT"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "GLvoid* " (parameter "userData"))))
+ ((gluNurbsCallbackDataEXT
+ (nurb *)
+ (userData *)
+ ->
+ void))
"Set a user data pointer.
NURB
tessellator in the NURBS callback functions (set by `gluNurbsCallback').")
(define-gl-procedure
- gluNurbsCallbackData
- "gluNurbsCallbackData"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluNurbsCallbackData"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "GLvoid* " (parameter "userData"))))
+ ((gluNurbsCallbackData
+ (nurb *)
+ (userData *)
+ ->
+ void))
"Set a user data pointer.
NURB
tessellator in the NURBS callback functions (set by `gluNurbsCallback').")
(define-gl-procedure
- gluNurbsCallback
- "gluNurbsCallback"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluNurbsCallback"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "GLenum " (parameter "which"))
- (paramdef
- "_GLUfuncptr "
- (parameter "CallBackFunc"))))
+ ((gluNurbsCallback
+ (nurb *)
+ (which GLenum)
+ (CallBackFunc _GLUfuncptr)
+ ->
+ void))
"Define a callback for a NURBS object.
NURB
void endData( void *userData );")
(define-gl-procedure
- gluNurbsCurve
- "gluNurbsCurve"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluNurbsCurve"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "GLint " (parameter "knotCount"))
- (paramdef "GLfloat * " (parameter "knots"))
- (paramdef "GLint " (parameter "stride"))
- (paramdef "GLfloat * " (parameter "control"))
- (paramdef "GLint " (parameter "order"))
- (paramdef "GLenum " (parameter "type"))))
+ ((gluNurbsCurve
+ (nurb *)
+ (knotCount GLint)
+ (knots *)
+ (stride GLint)
+ (control *)
+ (order GLint)
+ (type GLenum)
+ ->
+ void))
"Define the shape of a NURBS curve.
NURB
curves.")
(define-gl-procedure
- gluNurbsProperty
- "gluNurbsProperty"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluNurbsProperty"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "GLenum " (parameter "property"))
- (paramdef "GLfloat " (parameter "value"))))
+ ((gluNurbsProperty
+ (nurb *)
+ (property GLenum)
+ (value GLfloat)
+ ->
+ void))
"Set a NURBS property.
NURB
culling matrices until `gluLoadSamplingMatrices' is called.")
(define-gl-procedure
- gluNurbsSurface
- "gluNurbsSurface"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluNurbsSurface"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "GLint " (parameter "sKnotCount"))
- (paramdef "GLfloat* " (parameter "sKnots"))
- (paramdef "GLint " (parameter "tKnotCount"))
- (paramdef "GLfloat* " (parameter "tKnots"))
- (paramdef "GLint " (parameter "sStride"))
- (paramdef "GLint " (parameter "tStride"))
- (paramdef "GLfloat* " (parameter "control"))
- (paramdef "GLint " (parameter "sOrder"))
- (paramdef "GLint " (parameter "tOrder"))
- (paramdef "GLenum " (parameter "type"))))
+ ((gluNurbsSurface
+ (nurb *)
+ (sKnotCount GLint)
+ (sKnots *)
+ (tKnotCount GLint)
+ (tKnots *)
+ (sStride GLint)
+ (tStride GLint)
+ (control *)
+ (sOrder GLint)
+ (tOrder GLint)
+ (type GLenum)
+ ->
+ void))
"Define the shape of a NURBS surface.
NURB
points.")
(define-gl-procedure
- gluOrtho2D
- "gluOrtho2D"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluOrtho2D"))
- (paramdef "GLdouble " (parameter "left"))
- (paramdef "GLdouble " (parameter "right"))
- (paramdef "GLdouble " (parameter "bottom"))
- (paramdef "GLdouble " (parameter "top"))))
+ ((gluOrtho2D
+ (left GLdouble)
+ (right GLdouble)
+ (bottom GLdouble)
+ (top GLdouble)
+ ->
+ void))
"Define a 2D orthographic projection matrix.
LEFT
is equivalent to calling `glOrtho' with NEAR=-1 and FAR=1 .")
(define-gl-procedure
- gluPartialDisk
- "gluPartialDisk"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluPartialDisk"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLdouble " (parameter "inner"))
- (paramdef "GLdouble " (parameter "outer"))
- (paramdef "GLint " (parameter "slices"))
- (paramdef "GLint " (parameter "loops"))
- (paramdef "GLdouble " (parameter "start"))
- (paramdef "GLdouble " (parameter "sweep"))))
+ ((gluPartialDisk
+ (quad *)
+ (inner GLdouble)
+ (outer GLdouble)
+ (slices GLint)
+ (loops GLint)
+ (start GLdouble)
+ (sweep GLdouble)
+ ->
+ void))
"Draw an arc of a disk.
QUAD
0) it is (0.0, 0.5), and at (0, \\-R, 0) it is (0.5, 0.0).")
(define-gl-procedure
- gluPerspective
- "gluPerspective"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluPerspective"))
- (paramdef "GLdouble " (parameter "fovy"))
- (paramdef "GLdouble " (parameter "aspect"))
- (paramdef "GLdouble " (parameter "zNear"))
- (paramdef "GLdouble " (parameter "zFar"))))
+ ((gluPerspective
+ (fovy GLdouble)
+ (aspect GLdouble)
+ (zNear GLdouble)
+ (zFar GLdouble)
+ ->
+ void))
"Set up a perspective projection matrix.
FOVY
2×ZFAR×ZNEAR,/ZNEAR-ZFAR,), (0 0 -1 0),)")
(define-gl-procedure
- gluPickMatrix
- "gluPickMatrix"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluPickMatrix"))
- (paramdef "GLdouble " (parameter "x"))
- (paramdef "GLdouble " (parameter "y"))
- (paramdef "GLdouble " (parameter "delX"))
- (paramdef "GLdouble " (parameter "delY"))
- (paramdef "GLint * " (parameter "viewport"))))
+ ((gluPickMatrix
+ (x GLdouble)
+ (y GLdouble)
+ (delX GLdouble)
+ (delY GLdouble)
+ (viewport *)
+ ->
+ void))
"Define a picking region.
X
matrix.")
(define-gl-procedure
- gluProject
- "gluProject"
- (funcsynopsis
- (funcprototype
- (funcdef "GLint " (function "gluProject"))
- (paramdef "GLdouble " (parameter "objX"))
- (paramdef "GLdouble " (parameter "objY"))
- (paramdef "GLdouble " (parameter "objZ"))
- (paramdef
- "const GLdouble * "
- (parameter "model"))
- (paramdef "const GLdouble * " (parameter "proj"))
- (paramdef "const GLint * " (parameter "view"))
- (paramdef "GLdouble* " (parameter "winX"))
- (paramdef "GLdouble* " (parameter "winY"))
- (paramdef "GLdouble* " (parameter "winZ"))))
+ ((gluProject
+ (objX GLdouble)
+ (objY GLdouble)
+ (objZ GLdouble)
+ (model *)
+ (proj *)
+ (view *)
+ (winX *)
+ (winY *)
+ (winZ *)
+ ->
+ GLint))
"Map object coordinates to window coordinates.
OBJX
WINY=VIEW\u2061(1,)+VIEW\u2061(3,)×(V^″\u2061(1,)+1,)/2 WINZ=(V^″\u2061(2,)+1,)/2")
(define-gl-procedure
- gluPwlCurve
- "gluPwlCurve"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluPwlCurve"))
- (paramdef "GLUnurbs* " (parameter "nurb"))
- (paramdef "GLint " (parameter "count"))
- (paramdef "GLfloat* " (parameter "data"))
- (paramdef "GLint " (parameter "stride"))
- (paramdef "GLenum " (parameter "type"))))
+ ((gluPwlCurve
+ (nurb *)
+ (count GLint)
+ (data *)
+ (stride GLint)
+ (type GLenum)
+ ->
+ void))
"Describe a piecewise linear NURBS trimming curve.
NURB
information about trimming curves.")
(define-gl-procedure
- gluQuadricCallback
- "gluQuadricCallback"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluQuadricCallback"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLenum " (parameter "which"))
- (paramdef
- "_GLUfuncptr "
- (parameter "CallBackFunc"))))
+ ((gluQuadricCallback
+ (quad *)
+ (which GLenum)
+ (CallBackFunc _GLUfuncptr)
+ ->
+ void))
"Define a callback for a quadrics object.
QUAD
retrieved with the `gluErrorString' call.")
(define-gl-procedure
- gluQuadricDrawStyle
- "gluQuadricDrawStyle"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluQuadricDrawStyle"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLenum " (parameter "draw"))))
+ ((gluQuadricDrawStyle
+ (quad *)
+ (draw GLenum)
+ ->
+ void))
"Specify the draw style desired for quadrics.
QUAD
Quadrics are rendered as a set of points.")
(define-gl-procedure
- gluQuadricNormals
- "gluQuadricNormals"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluQuadricNormals"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLenum " (parameter "normal"))))
+ ((gluQuadricNormals
+ (quad *)
+ (normal GLenum)
+ ->
+ void))
"Specify what kind of normals are desired for quadrics.
QUAD
initial value.")
(define-gl-procedure
- gluQuadricOrientation
- "gluQuadricOrientation"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluQuadricOrientation"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLenum " (parameter "orientation"))))
+ ((gluQuadricOrientation
+ (quad *)
+ (orientation GLenum)
+ ->
+ void))
"Specify inside/outside orientation for quadrics.
QUAD
quadric being drawn.")
(define-gl-procedure
- gluQuadricTexture
- "gluQuadricTexture"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluQuadricTexture"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLboolean " (parameter "texture"))))
+ ((gluQuadricTexture
+ (quad *)
+ (texture GLboolean)
+ ->
+ void))
"Specify if texturing is desired for quadrics.
QUAD
specific quadric rendered.")
(define-gl-procedure
- gluScaleImage
- "gluScaleImage"
- (funcsynopsis
- (funcprototype
- (funcdef "GLint " (function "gluScaleImage"))
- (paramdef "GLenum " (parameter "format"))
- (paramdef "GLsizei " (parameter "wIn"))
- (paramdef "GLsizei " (parameter "hIn"))
- (paramdef "GLenum " (parameter "typeIn"))
- (paramdef "const void * " (parameter "dataIn"))
- (paramdef "GLsizei " (parameter "wOut"))
- (paramdef "GLsizei " (parameter "hOut"))
- (paramdef "GLenum " (parameter "typeOut"))
- (paramdef "GLvoid* " (parameter "dataOut"))))
+ ((gluScaleImage
+ (format GLenum)
+ (wIn GLsizei)
+ (hIn GLsizei)
+ (typeIn GLenum)
+ (dataIn *)
+ (wOut GLsizei)
+ (hOut GLsizei)
+ (typeOut GLenum)
+ (dataOut *)
+ ->
+ GLint))
"Scale an image to an arbitrary size.
FORMAT
FORMAT is neither `GLU_RGBA' nor `GLU_BGRA'.")
(define-gl-procedure
- gluSphere
- "gluSphere"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluSphere"))
- (paramdef "GLUquadric* " (parameter "quad"))
- (paramdef "GLdouble " (parameter "radius"))
- (paramdef "GLint " (parameter "slices"))
- (paramdef "GLint " (parameter "stacks"))))
+ ((gluSphere
+ (quad *)
+ (radius GLdouble)
+ (slices GLint)
+ (stacks GLint)
+ ->
+ void))
"Draw a sphere.
QUAD
\\-Y axis, to 0.75 at the \\-X axis, and back to 1.0 at the +Y axis.")
(define-gl-procedure
- gluTessBeginContour
- "gluTessBeginContour"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluTessBeginContour"))
- (paramdef "GLUtesselator* " (parameter "tess"))))
+ ((gluTessBeginContour (tess *) -> void)
+ (gluTessEndContour (tess *) -> void))
"Delimit a contour description.
TESS
`gluTessBeginPolygon' and `gluTessEndPolygon'.")
(define-gl-procedure
- gluTessBeginPolygon
- "gluTessBeginPolygon"
- (funcsynopsis
- (funcprototype
- (funcdef
- "void "
- (function "gluTessBeginPolygon"))
- (paramdef "GLUtesselator* " (parameter "tess"))
- (paramdef "GLvoid* " (parameter "data"))))
+ ((gluTessBeginPolygon (tess *) (data *) -> void))
"Delimit a polygon description.
TESS
`gluTessCallback' for descriptions of the callback functions.")
(define-gl-procedure
- gluTessCallback
- "gluTessCallback"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluTessCallback"))
- (paramdef "GLUtesselator* " (parameter "tess"))
- (paramdef "GLenum " (parameter "which"))
- (paramdef
- "_GLUfuncptr "
- (parameter "CallBackFunc"))))
+ ((gluTessCallback
+ (tess *)
+ (which GLenum)
+ (CallBackFunc _GLUfuncptr)
+ ->
+ void))
"Define a callback for a tessellation object.
TESS
void errorData( GLenum errno, void *polygon_data );")
(define-gl-procedure
- gluTessEndPolygon
- "gluTessEndPolygon"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluTessEndPolygon"))
- (paramdef "GLUtesselator* " (parameter "tess"))))
+ ((gluTessEndPolygon (tess *) -> void))
"Delimit a polygon description.
TESS
`gluTessCallback' for descriptions of the callback functions.")
(define-gl-procedure
- gluTessNormal
- "gluTessNormal"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluTessNormal"))
- (paramdef "GLUtesselator* " (parameter "tess"))
- (paramdef "GLdouble " (parameter "valueX"))
- (paramdef "GLdouble " (parameter "valueY"))
- (paramdef "GLdouble " (parameter "valueZ"))))
+ ((gluTessNormal
+ (tess *)
+ (valueX GLdouble)
+ (valueY GLdouble)
+ (valueZ GLdouble)
+ ->
+ void))
"Specify a normal for a polygon.
TESS
`gluTessNormal'.")
(define-gl-procedure
- gluTessProperty
- "gluTessProperty"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluTessProperty"))
- (paramdef "GLUtesselator* " (parameter "tess"))
- (paramdef "GLenum " (parameter "which"))
- (paramdef "GLdouble " (parameter "data"))))
+ ((gluTessProperty
+ (tess *)
+ (which GLenum)
+ (data GLdouble)
+ ->
+ void))
"Set a tessellation object property.
TESS
are merged only when both endpoints are identical.")
(define-gl-procedure
- gluTessVertex
- "gluTessVertex"
- (funcsynopsis
- (funcprototype
- (funcdef "void " (function "gluTessVertex"))
- (paramdef "GLUtesselator* " (parameter "tess"))
- (paramdef "GLdouble * " (parameter "location"))
- (paramdef "GLvoid* " (parameter "data"))))
+ ((gluTessVertex
+ (tess *)
+ (location *)
+ (data *)
+ ->
+ void))
"Specify a vertex on a polygon.
TESS
`gluTessCallback' reference page).")
(define-gl-procedure
- gluUnProject4
- "gluUnProject4"
- (funcsynopsis
- (funcprototype
- (funcdef "GLint " (function "gluUnProject4"))
- (paramdef "GLdouble " (parameter "winX"))
- (paramdef "GLdouble " (parameter "winY"))
- (paramdef "GLdouble " (parameter "winZ"))
- (paramdef "GLdouble " (parameter "clipW"))
- (paramdef
- "const GLdouble * "
- (parameter "model"))
- (paramdef "const GLdouble * " (parameter "proj"))
- (paramdef "const GLint * " (parameter "view"))
- (paramdef "GLdouble " (parameter "nearVal"))
- (paramdef "GLdouble " (parameter "farVal"))
- (paramdef "GLdouble* " (parameter "objX"))
- (paramdef "GLdouble* " (parameter "objY"))
- (paramdef "GLdouble* " (parameter "objZ"))
- (paramdef "GLdouble* " (parameter "objW"))))
+ ((gluUnProject4
+ (winX GLdouble)
+ (winY GLdouble)
+ (winZ GLdouble)
+ (clipW GLdouble)
+ (model *)
+ (proj *)
+ (view *)
+ (nearVal GLdouble)
+ (farVal GLdouble)
+ (objX *)
+ (objY *)
+ (objZ *)
+ (objW *)
+ ->
+ GLint))
"Map window and clip coordinates to object coordinates.
WINX
is 0, and FARVAL is 1.")
(define-gl-procedure
- gluUnProject
- "gluUnProject"
- (funcsynopsis
- (funcprototype
- (funcdef "GLint " (function "gluUnProject"))
- (paramdef "GLdouble " (parameter "winX"))
- (paramdef "GLdouble " (parameter "winY"))
- (paramdef "GLdouble " (parameter "winZ"))
- (paramdef
- "const GLdouble * "
- (parameter "model"))
- (paramdef "const GLdouble * " (parameter "proj"))
- (paramdef "const GLint * " (parameter "view"))
- (paramdef "GLdouble* " (parameter "objX"))
- (paramdef "GLdouble* " (parameter "objY"))
- (paramdef "GLdouble* " (parameter "objZ"))))
+ ((gluUnProject
+ (winX GLdouble)
+ (winY GLdouble)
+ (winZ GLdouble)
+ (model *)
+ (proj *)
+ (view *)
+ (objX *)
+ (objY *)
+ (objZ *)
+ ->
+ GLint))
"Map window coordinates to object coordinates.
WINX