glutHelper/helper.h
// Redraw the window with the specified fps
Redraw the window with the specified fps
Redraw the window with the specified fps
void glRedraw(int) {
    glutPostRedisplay();
    glutTimerFunc(frameDelay, glRedraw, 0);
    glutSwapBuffers();
    glClear(GL_COLOR_BUFFER_BIT);
}
void glRedraw ( int ) { glutPostRedisplay ( ) ; glutTimerFunc ( frameDelay , glRedraw , 0 ) ; glutSwapBuffers ( ) ; glClear ( GL_COLOR_BUFFER_BIT ) ; }
Redraw the window with the specified fps
Redraw the window with the specified fps