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