- {------------------------------------------------------------------}
 - { Initialisierung von OpenGL }
 - {------------------------------------------------------------------}
 - procedure glInit();
 - begin
 - glEnable(GL_TEXTURE_2D); // Aktiviert Texture Mapping
 - glShadeModel(GL_SMOOTH); // Aktiviert weiches Shading
 - glClearColor(0.0, 0.0, 0.0, 0.5); // Bildschirm löschen (schwarz)
 - glClearDepth(1.0); // Depth Buffer Setup
 - glEnable(GL_DEPTH_TEST); // Aktiviert Depth Testing
 - glDepthFunc(GL_LEQUAL); // Bestimmt den Typ des Depth Testing
 - // Qualitativ bessere Koordinaten Interpolation
 - glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
 - end;
 


