Handbook
Glossary
reshape ( width height -- )
Vocabulary
rosetta-code
.
opengl
Inputs
width
an
object
height
an
object
Outputs
None
Definition
USING:
kernel
opengl.gl
;
IN:
rosetta-code.opengl
:
reshape
( width height -- )
[
0 0
]
2dip
glViewport
GL_PROJECTION
glMatrixMode
glLoadIdentity
-30.0 30.0 -30.0 30.0 -30.0 30.0
glOrtho
GL_MODELVIEW
glMatrixMode
;