glVertex2s ( x y -- )
Factor documentation > 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

Definition
USING: alien.c-types alien.syntax ;

IN: opengl.gl

LIBRARY: gl FUNCTION: void glVertex2s
( GLshort x, GLshort y ) ; inline