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