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