#NEWLINE# def resize( width , height ) : #NEWLINE# #INDENT# glViewport ( 0 , 0 , width , height ) #NEWLINE# glMatrixMode ( GL_PROJECTION ) #NEWLINE# glLoadIdentity ( ) #NEWLINE# gluPerspective ( 60.0 , ( float ( width ) / height ) , 0.1 , 1000.0 ) #NEWLINE# glMatrixMode ( GL_MODELVIEW ) #NEWLINE# glLoadIdentity ( )