Exemple #1
0
/**
* Acts as the display function for the window. 
*/
static void RenderSceneCB() {
    // Clear the color and depth buffers
	glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
	glClearColor(255,255,255,1);

	// TODO
	// Your rendering code
	problem12();
	problem12();
	problem13();
	problem14();
	problem15();
	problem16();
	problem17();
	problem18();

	// Flush all drawing commands and swapbuffers
	glutSwapBuffers();
} // end RenderSceneCB
int main(int argc, char** argv)
{

	return(problem15(argc, argv));
}