Revision 9fd4c04a
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/solvers/SolverSkewbDiamond.java | ||
---|---|---|
331 | 331 |
getCorners(object,corners); |
332 | 332 |
getCenters(object,centers); |
333 | 333 |
|
334 |
for(int j=0; j<8; j++) |
|
335 |
{ |
|
336 |
android.util.Log.e("D", "center "+j+" : "+centers[j]); |
|
337 |
} |
|
334 |
//for(int j=0; j<8; j++) android.util.Log.e("D", "center "+j+" : "+centers[j]); |
|
338 | 335 |
|
339 | 336 |
int result1 = checkAllCentersPresent(centers); |
340 | 337 |
if( result1<0 ) return result1; |
... | ... | |
354 | 351 |
if( !even2 ) return ERROR_TWO_CENTERS; |
355 | 352 |
|
356 | 353 |
int[] corners_twist = getCornersTwist(corners_perm, corners); |
357 |
|
|
354 |
/* |
|
358 | 355 |
android.util.Log.e("D", "faces: "+mFaceColors[0]+" "+mFaceColors[1]+" "+mFaceColors[2]+" " |
359 | 356 |
+mFaceColors[3]+" "+mFaceColors[4]+" "+mFaceColors[5]+" "+mFaceColors[6]+" "+mFaceColors[7]); |
360 | 357 |
|
... | ... | |
363 | 360 |
|
364 | 361 |
android.util.Log.e("D", "corn twist: "+corners_twist[0]+" "+corners_twist[1]+" "+corners_twist[2]+" " |
365 | 362 |
+corners_twist[3]+" "+corners_twist[4]+" "+corners_twist[5]); |
366 |
|
|
363 |
*/ |
|
367 | 364 |
int totalTwist = getTotalTwist(corners_twist); |
368 | 365 |
if( totalTwist<0 ) return ERROR_CORNER_TWIST; |
369 | 366 |
|
Also available in: Unified diff
Progress with the Diamond Skewb solver.