def reshape( self, w, h ): self.size = (int(w), int(h)) self.aspect = float(w) / float(h) dobj.reshape( *self.size )
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 )
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)