•#include <GL/glut.h>
–Also includes windows stuff and OpenGL
•glutInit (int * argcp, char **argv)
–Initialize GLUT library, parse and use command-line
options:
•glutInitWindowSize (int width, int height)
• glutInitWindowPosition
(int x, int y)
• glutInitDisplayMode (unsigned int mode)
–GLUT_RGBA | GLUT_DEPTH | GLUT_DOUBLE, etc…
–Single argument with OR of constants
–Type of buffering, we’ll use single at first.
• glutCreateWindow (char *window_name)