Beispiel #1
0
 void Render() {
     if (wireframe) {
         glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );
     } else {
         glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
     }
     world.Render();
 }
Beispiel #2
0
 void Render() {
     world.Render();
 }
Beispiel #3
0
 void Render() {
     glClearColor(0, 0, 0, 1);
     glClear(GL_COLOR_BUFFER_BIT);
     world.Render();
 }