Handbook
Glossary
glVertex2d ( x y -- )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Customizing gadget appearance
»
Implementing custom drawing logic
»
OpenGL utility words
»
OpenGL binding
»
Specifying vertices
Next:
glVertex2f ( x y -- )
Vocabulary
opengl
.
gl
Inputs
x
an
object
y
an
object
Outputs
None
Definition
USING:
alien
alien.c-types
opengl.gl.extensions
;
IN:
opengl.gl
:
glVertex2d
( x y -- )
{
"glVertex2d"
}
77
gl-function-pointer
\
void
{
GLdouble
GLdouble
}
\
cdecl
alien-indirect
;