L'exécutable

 Fichier source : FacetteTrouee.cpp

/* Scene dessinee                               */

static void scene(void) {
  glPushMatrix();
  glBegin(GL_QUAD_STRIP);
  glVertex3f(-1.0F,-1.0F, 0.0F);
  glVertex3f( 0.0F,-0.5F, 0.0F);
  glVertex3f(-1.0F, 1.0F, 0.0F);
  glVertex3f(-0.5F ,0.0F, 0.0F);
  glVertex3f( 1.0F, 1.0F, 0.0F);
  glVertex3f( 0.0F, 0.5F, 0.0F);
  glVertex3f( 1.0F,-1.0F, 0.0F);
  glVertex3f( 0.5F, 0.0F, 0.0F);
  glVertex3f(-1.0F,-1.0F, 0.0F);
  glVertex3f( 0.0F,-0.5F, 0.0F);
  glEnd();
  glPopMatrix();
}

RETOUR