public void rotate ( float rx , float ry , float ang ) { checkPush ( ) ; predraw ( ) ; translate ( rx , ry ) ; GL . glRotatef ( ang , 0 , 0 , 1 ) ; translate ( - rx , - ry ) ; postdraw ( ) ; }
Apply a rotation to everything draw on the graphics context