glutDisplayFunc(display)
void graphic::dispaly() { glClear(GL_COLOR_BUFFER_BIT); //call a function glutSwapBuffers(); }
class graphic { ... static void display (); };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)