Revision 74686c71
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikCubeMovement.java | ||
---|---|---|
67 | 67 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
68 | 68 |
// retFace{X,Y,Z}axis: 3 functions which return which real AXIS gets mapped to which when we look |
69 | 69 |
// directly at a given face. For example, when we look at the RIGHT face of the cube (with TOP still |
70 |
// in the top) then the 'real' X axis becomes the 'Z' axis, thus retFaceZaxis(RIGHT) = VECTX.
|
|
70 |
// in the top) then the 'real' X axis becomes the 'Z' axis, thus retFaceXaxis(RIGHT) = VECTZ.
|
|
71 | 71 |
|
72 | 72 |
private int retFaceXaxis(int face) |
73 | 73 |
{ |
Also available in: Unified diff
Small improvement.