Revision 074a0284
Added by Leszek Koltunski 3 months ago
src/main/java/org/distorted/objectlib/objects/TwistyTrajber.java | ||
---|---|---|
65 | 65 |
return new float[][] { f,f,f }; |
66 | 66 |
} |
67 | 67 |
|
68 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
69 |
|
|
70 |
@Override |
|
71 |
public int[][] getSolvedQuats() |
|
72 |
{ |
|
73 |
int[] numLayers = getNumLayers(); |
|
74 |
int numL = numLayers[0]; |
|
75 |
|
|
76 |
if( numL==3 ) |
|
77 |
{ |
|
78 |
return super.getSolvedQuats(); |
|
79 |
} |
|
80 |
else |
|
81 |
{ |
|
82 |
// special SolvedQuats for the case where there are no corner of edge cubits. |
|
83 |
// first row {0} - means there are no corners or edges. |
|
84 |
// each next defines all cubits of a singe face |
|
85 |
// (numCubits, firstCubit, cubit1,..,cubitN-1, quat0,..., quatM) |
|
86 |
|
|
87 |
return new int[][] { |
|
88 |
{0}, |
|
89 |
{7, 2, 6,14,26,34,41,49, 10,23}, |
|
90 |
{7,10,19,22,29,37,47,54, 10,23}, |
|
91 |
{7,11,15,23,28,33,45,52, 13,20}, |
|
92 |
{7, 3, 7,18,27,38,43,51, 13,20}, |
|
93 |
{7, 5,12,17,30,35,44,53, 12,22}, |
|
94 |
{7, 1, 8,20,25,36,42,50, 12,22}, |
|
95 |
{7, 0, 9,16,24,32,40,48, 15,21}, |
|
96 |
{7, 4,13,21,31,39,46,55, 15,21}, |
|
97 |
}; |
|
98 |
} |
|
99 |
} |
|
100 |
|
|
101 | 68 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
102 | 69 |
|
103 | 70 |
public int[][] getScrambleEdges() |
Also available in: Unified diff
Support for the new default detection of solved state done. Something seems to be working.