X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=638683e95c05a4d7fb817c282d537057b32aefac;hb=a94c1e2ec02ba03c8f7c4dee751f2eded3203b8f;hp=349ccbf730deb01048888c9f7d0716ea4b51d01d;hpb=1620327b0ca461adaf5f467e08b9b3c633761816;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index 349ccbf..638683e 100644 --- a/scene.c +++ b/scene.c @@ -632,17 +632,17 @@ int main(int argc, char **argv) { glutInitWindowSize(500, 500); glutCreateWindow("Scene Editor"); - /*glShadeModel(GL_SMOOTH); // Enables Smooth Shading - glClearColor(0.0f, 0.0f, 0.0f, 0.0f); // Black Background - glClearDepth(1.0f); // Depth Buffer Setup - glEnable(GL_DEPTH_TEST); // Enables Depth Testing - glDepthFunc(GL_LEQUAL); // the type + //glShadeModel(GL_SMOOTH); // Enables Smooth Shading + //glClearColor(0.0f, 0.0f, 0.0f, 0.0f); // Black Background + //glClearDepth(1.0f); // Depth Buffer Setup + //glEnable(GL_DEPTH_TEST); // Enables Depth Testing + //glDepthFunc(GL_LEQUAL); // the type // glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); // Really Nice Perspective Calculations glutReshapeFunc(windowReshape); glutDisplayFunc(display); - glutMouseFunc(mouse);*/ + glutMouseFunc(mouse); makeMenu();