Ejemplo n.º 1
0
 def reshape( self, w, h ):
     self.size = (int(w), int(h))
     self.aspect = float(w) / float(h)
     dobj.reshape( *self.size )
Ejemplo n.º 2
0
 def reshape( self, w, h ):
     self.size = (int(w), int(h))
     system.globals.size = self.size
     self.aspect = float(w) / float(h)
     dobj.reshape( *self.size )
Ejemplo n.º 3
0
 def reshape(self, w, h):
     self.size = (int(w), int(h))
     system.globals.size = self.size
     self.aspect = float(w) / float(h)
     dobj.reshape(*self.size)