Revision 1b7ece90
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyMinx.java | ||
---|---|---|
376 | 376 |
}; |
377 | 377 |
} |
378 | 378 |
|
379 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
380 |
|
|
381 |
public int[] getSolvedQuats(int cubit, int[] numLayers) |
|
382 |
{ |
|
383 |
int status = retCubitSolvedStatus(cubit,numLayers); |
|
384 |
return status<0 ? null : buildSolvedQuats(TouchControlDodecahedron.FACE_AXIS[status],mObjectQuats); |
|
385 |
} |
|
386 |
|
|
387 | 379 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
388 | 380 |
|
389 | 381 |
float[][] genericGetCuts(int numLayers, float dist) |
... | ... | |
487 | 479 |
return TouchControlDodecahedron.FACE_AXIS; |
488 | 480 |
} |
489 | 481 |
|
490 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
491 |
|
|
492 |
public int getSolvedFunctionIndex() |
|
493 |
{ |
|
494 |
return 0; |
|
495 |
} |
|
496 |
|
|
497 | 482 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
498 | 483 |
// PUBLIC API |
499 | 484 |
|
Also available in: Unified diff
Standarize two next functions - getSolvedQuats and getSolvedFunctionIndex.
Now all objects except Dino6, Dino4 and Square-2 have them the same.