Revision 5da7a80b
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/solvers/pduo/SolverPyraminxDuo.java | ||
---|---|---|
48 | 48 |
|
49 | 49 |
public int[] prepareQuats(TwistyObject object) |
50 | 50 |
{ |
51 |
int c0f0 = object.getCubitFaceColorIndex(0,0);
|
|
52 |
int c0f1 = object.getCubitFaceColorIndex(0,1);
|
|
53 |
int c0f2 = object.getCubitFaceColorIndex(0,2);
|
|
54 |
|
|
55 |
int c1f0 = object.getCubitFaceColorIndex(1,0);
|
|
56 |
int c1f1 = object.getCubitFaceColorIndex(1,1);
|
|
57 |
int c1f2 = object.getCubitFaceColorIndex(1,2);
|
|
58 |
|
|
59 |
int c2f0 = object.getCubitFaceColorIndex(2,0);
|
|
60 |
int c2f1 = object.getCubitFaceColorIndex(2,1);
|
|
61 |
int c2f2 = object.getCubitFaceColorIndex(2,2);
|
|
62 |
|
|
63 |
int c3f0 = object.getCubitFaceColorIndex(3,0);
|
|
64 |
int c3f1 = object.getCubitFaceColorIndex(3,1);
|
|
65 |
int c3f2 = object.getCubitFaceColorIndex(3,2);
|
|
66 |
|
|
67 |
int c4f0 = object.getCubitFaceColorIndex(4,0);
|
|
68 |
int c5f0 = object.getCubitFaceColorIndex(5,0);
|
|
69 |
int c6f0 = object.getCubitFaceColorIndex(6,0);
|
|
70 |
int c7f0 = object.getCubitFaceColorIndex(3,0);
|
|
51 |
int c0f0 = object.getCubitFaceStickerIndex(0,0);
|
|
52 |
int c0f1 = object.getCubitFaceStickerIndex(0,1);
|
|
53 |
int c0f2 = object.getCubitFaceStickerIndex(0,2);
|
|
54 |
|
|
55 |
int c1f0 = object.getCubitFaceStickerIndex(1,0);
|
|
56 |
int c1f1 = object.getCubitFaceStickerIndex(1,1);
|
|
57 |
int c1f2 = object.getCubitFaceStickerIndex(1,2);
|
|
58 |
|
|
59 |
int c2f0 = object.getCubitFaceStickerIndex(2,0);
|
|
60 |
int c2f1 = object.getCubitFaceStickerIndex(2,1);
|
|
61 |
int c2f2 = object.getCubitFaceStickerIndex(2,2);
|
|
62 |
|
|
63 |
int c3f0 = object.getCubitFaceStickerIndex(3,0);
|
|
64 |
int c3f1 = object.getCubitFaceStickerIndex(3,1);
|
|
65 |
int c3f2 = object.getCubitFaceStickerIndex(3,2);
|
|
66 |
|
|
67 |
int c4f0 = object.getCubitFaceStickerIndex(4,0);
|
|
68 |
int c5f0 = object.getCubitFaceStickerIndex(5,0);
|
|
69 |
int c6f0 = object.getCubitFaceStickerIndex(6,0);
|
|
70 |
int c7f0 = object.getCubitFaceStickerIndex(7,0);
|
|
71 | 71 |
|
72 | 72 |
android.util.Log.e("D", "tip 0: "+c0f0+" "+c0f1+" "+c0f2); |
73 | 73 |
android.util.Log.e("D", "tip 1: "+c1f0+" "+c1f1+" "+c1f2); |
Also available in: Unified diff
Progress with PDuo solver