Unformatted text preview: ouble buffer display mode.
* Register mouse input callback functions
int main(int argc, char** argv)
glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGB);
glutInitWindowSize (250, 250);
glutInitWindowPosition (100, 100);
/* ANSI C requires main to return int. */
3) Combine the previous lab exercise with this week exercise (output should have a dot and spinning cube)....
View Full Document
This note was uploaded on 08/17/2011 for the course CS 102 taught by Professor Halimah during the Summer '11 term at International Islamic University Malaysia.
- Summer '11
- Computer Graphics