#NEWLINE# def run( self ) : #NEWLINE# #INDENT# self . exit_requested = False #NEWLINE# egl = EGL ( depthbuffer = self . depthbuffer ) #NEWLINE# self . width = egl . width #NEWLINE# self . height = egl . height #NEWLINE# self . aspect_ratio = ( float ( self . width ) / float ( self . height ) ) #NEWLINE# self . setup ( ) #NEWLINE# start_time = time . time ( ) #NEWLINE# while ( not self . exit_requested ) : #NEWLINE# #INDENT# self . draw ( ( time . time ( ) - start_time ) ) #NEWLINE# egl . swap_buffers ( ) #NEWLINE# #UNINDENT# self . on_exit ( )