for a viewer for a human evacuation simulation tool for architectural structures which i am developing i want to limit the fps to a fixed number. the viewer is written in c/c++ using open gl and the glu/glut libraries. maybe someones knows a cheap line of code to limit the fps output.