Exemplo n.º 1
0
 def move(self, vector):
     self.location = util3D.add_v3v3(self.location, vector)
     self.rectangle3D1.move(vector)
     self.pyramid3D1.move(vector)
     self.rectangle3D2.move(vector)
     self.pyramid3D2.move(vector)
     self.rectangle3D3.move(vector)
     self.pyramid3D3.move(vector)
     self.rectangle3D4.move(vector)
Exemplo n.º 2
0
 def changeAngle(self, angles):
     self.angles = util3D.add_v3v3(self.angles, angles)
     self.rectangle3D1.changeAngle(angles)
     self.pyramid3D1.changeAngle(angles)
     self.rectangle3D2.changeAngle(angles)
     self.pyramid3D2.changeAngle(angles)
     self.rectangle3D3.changeAngle(angles)
     self.pyramid3D3.changeAngle(angles)
     self.rectangle3D4.changeAngle(angles)
Exemplo n.º 3
0
 def changeAngle(self, angles):
     self.angles = util3D.add_v3v3(self.angles, angles)
Exemplo n.º 4
0
 def move(self, vector):
     self.location = util3D.add_v3v3(self.location, vector)
Exemplo n.º 5
0
 def move(self, vector):
     self.location = util3D.add_v3v3(self.location, vector)
     self.focusLocation = util3D.add_v3v3(self.location,
                                          (0, 0, -self.distance))