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