Hello Slava,
Is this code better? You say that one usually doesn't need to change the
projection or model matrices but isn't that necessary here. Any
suggestions or criticism you have time for are welcome. Thanks for the help.
USING: kernel gadgets gadgets-theme opengl arrays timers math
Thanks for the quick response Slava. The following code is example 1-3
from the OpenGL Programming Guide - a square that spins when the left
mouse button is pressed. I am setting the background color and shade
model in graft* after calling find-gl-context (I didn't find
libs/canvas you
Oh, I see. The first slot is the delegate slot that all tuples have. I
was confused because the button-down documentation gives an example as
T{ button-down f 1 }.
-
This SF.net email is sponsored by DB2 Express
Download
I'm using the Factor 0.89 OpenGL library and wish to call glut functions
from Factor in order run redbook examples. I created a factor file with
the following code for a start:
IN: glut
USING: kernel alien ;
LIBRARY: glut
FUNCTION: void glutInit( int *argcp, char **argv ) ;
I then loaded the