Handbook
Glossary
gl-rect ( loc dim -- )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Customizing gadget appearance
»
Implementing custom drawing logic
»
OpenGL utility words
Prev:
gl-fill-rect ( loc dim -- )
Vocabulary
opengl
Inputs
loc
a pair of integers
dim
a pair of integers
Outputs
None
Word description
Draws the outline of a rectangle with the top-left corner at the origin and the given dimensions.
Definition
IN:
opengl
:
gl-rect
( loc dim -- )
rect-vertices
(gl-rect)
;