Is there a way to call a function with parameters from within glutMainLoop()? I have a simulation that with each step updates a vertex array...
Specifically, I was looking at glutIdleFunc() as a solution, but it doesn't seem to accept parameters. I could make my arrays global, but I really don't want to do that....