Paste: opengl test

Author: pggb
Mode: factor
Date: Mon, 8 Oct 2012 14:34:58
Plain Text |
M: mandel-gadget draw-gadget* ( gadget -- )
    drop
    GL_PROJECTION glMatrixMode
    glLoadIdentity
    -1 1 2dup 2dup glOrtho
    GL_MODELVIEW glMatrixMode
    glLoadIdentity
    COLOR: red gl-color
    { -1 -1 } { 1 1 } gl-line ;

New Annotation

Summary:
Author:
Mode:
Body: