Revision 0021af58
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objects/MovementSquare.java | ||
---|---|---|
39 | 39 |
|
40 | 40 |
MovementSquare() |
41 | 41 |
{ |
42 |
super(TwistySquare1.ROT_AXIS, FACE_AXIS, DIST3D, DIST2D);
|
|
42 |
super(TwistySquare.ROT_AXIS, FACE_AXIS, DIST3D, DIST2D); |
|
43 | 43 |
} |
44 | 44 |
|
45 | 45 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Convert Square-2 to the new generic scrambling algorithm.
In order to do it we need to introduce a third, artificial rotational axis - otherwise the algorithm would make it impossible to rotate the lower layer and immediatelly after - the upper.