Revision 9cd7695f
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikCube.java | ||
---|---|---|
40 | 40 |
class RubikCube extends RubikObject |
41 | 41 |
{ |
42 | 42 |
// the three rotation axis of a RubikCube. Must be normalized. |
43 |
private static final Static3D[] AXIS = new Static3D[]
|
|
43 |
static final Static3D[] AXIS = new Static3D[] |
|
44 | 44 |
{ |
45 | 45 |
new Static3D(1,0,0), |
46 | 46 |
new Static3D(0,1,0), |
47 | 47 |
new Static3D(0,0,1) |
48 | 48 |
}; |
49 | 49 |
|
50 |
private static final int[] FACE_COLORS = new int[]
|
|
50 |
static final int[] FACE_COLORS = new int[] |
|
51 | 51 |
{ |
52 | 52 |
0xffffff00, 0xffffffff, // AXIS[0]right (right-YELLOW) AXIS[0]left (left -WHITE) |
53 | 53 |
0xff0000ff, 0xff00ff00, // AXIS[1]right (top -BLUE ) AXIS[1]left (bottom-GREEN) |
Also available in: Unified diff
Improve RubikCubeMovement