Original Post
i forget all the calls, because I've moved away from glut and instead now do all the code by hand. but I never got a chance to understand how glut works. How can a function, take in a function? for example; glutMouseFunc actually does glutMouseFunc(somefun); i found this: void glutMouseFunc(void (*func)(int button, int state, int x, int y)); so does that mean that the first param, is a pointer to a function? I am having a hard time getting this.