示例#1
0
 def rotateDPrime(self, frame):
     rM = Cube.getRotationMatrix('z', self.angleChange * frame)
     pieces = self.getZSide(-1)
     self.setTempCoords(pieces, rM)
示例#2
0
 def rotateFPrime(self, frame):
     rM = Cube.getRotationMatrix('x', -self.angleChange * frame)
     pieces = self.getXSide(1)
     self.setTempCoords(pieces, rM)
示例#3
0
 def rotateZCounterClockwise(self, frame):
     rM = Cube.getRotationMatrix('z', self.angleChange * frame)
     pieces = self.cube.pieces
     self.setTempCoords(pieces, rM)