Handbook
Glossary
do-matrix ( quot -- )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Customizing gadget appearance
»
Implementing custom drawing logic
»
OpenGL utility words
Prev:
do-attribs ( bits quot -- )
Next:
with-translation ( loc quot -- )
Vocabulary
opengl
Inputs
quot
a
quotation
Outputs
None
Word description
Saves and restores the current matrix before and after calling the quotation.
Definition
USING:
kernel
opengl.gl
;
IN:
opengl
:
do-matrix
( quot -- )
glPushMatrix
call
glPopMatrix
;
inline