48
91
glutInitWindowSize ( 640, 480 ) ;
49
92
glutInit ( &argc, argv ) ;
50
103
glutInitDisplayMode ( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH ) ;
51
105
glutCreateWindow ( "PUI Application" ) ;
52
106
glutDisplayFunc ( displayfn ) ;
53
107
glutMouseFunc ( mousefn ) ;
54
108
glutMotionFunc ( motionfn ) ;
55
111
glutPassiveMotionFunc ( motionfn ) ;