示例#1
0
 def Render(self, mode):
     glTranslated(0, 0, -3)
     glRotated(30, 1, 0, 0)
     glRotated(40, 0, 1, 0)
     drawCube()
 def Render( self, mode = None):
     GLUTInteractiveContext.Render (self, mode)
     glTranslated ( 2,0,-4)
     drawCube()
示例#3
0
 def Render(self, mode):
     glTranslated(0, 0, -3)
     glRotated(30, 1, 0, 0)
     glRotated(40, 0, 1, 0)
     drawCube()
 def Render(self, mode=None):
     GLUTInteractiveContext.Render(self, mode)
     glTranslated(2, 0, -4)
     drawCube()