/**\r
* Prints out error message when file cannot be read\r
* @param fileName Name of file that could not be read\r
/**\r
* Prints out error message when file cannot be read\r
* @param fileName Name of file that could not be read\r
glViewport(0, 0, (GLsizei) w, (GLsizei) h);\r
glMatrixMode(GL_PROJECTION);\r
glLoadIdentity();\r
glViewport(0, 0, (GLsizei) w, (GLsizei) h);\r
glMatrixMode(GL_PROJECTION);\r
glLoadIdentity();\r
gluPerspective(\r
60.0, /* field of view in degree */\r
1.0, /* aspect ratio */\r
gluPerspective(\r
60.0, /* field of view in degree */\r
1.0, /* aspect ratio */\r
glLightf(GL_LIGHT0, GL_CONSTANT_ATTENUATION, 0.1);\r
glLightf(GL_LIGHT0, GL_LINEAR_ATTENUATION, 0.05);\r
glEnable(GL_LIGHT0);\r
glLightf(GL_LIGHT0, GL_CONSTANT_ATTENUATION, 0.1);\r
glLightf(GL_LIGHT0, GL_LINEAR_ATTENUATION, 0.05);\r
glEnable(GL_LIGHT0);\r