Revision fa0f7a56
Added by Leszek Koltunski over 5 years ago
| src/main/java/org/distorted/objects/RubikObject.java | ||
|---|---|---|
| 260 | 260 |
} |
| 261 | 261 |
} |
| 262 | 262 |
|
| 263 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 264 |
|
|
| 265 |
int getCubitFaceColorIndex(int cubit, int face) |
|
| 266 |
{
|
|
| 267 |
return mCubits[cubit].getColorIndex(face); |
|
| 268 |
} |
|
| 269 |
|
|
| 263 | 270 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 264 | 271 |
// Clamp all rotated positions to one of those original ones to avoid accumulating errors. |
| 265 | 272 |
|
Also available in: Unified diff
Progress with the Solver - RubikCube.retObjectString() finished.
What remains to be done here: ban changing colors of the centers of 3x3x3 faces, this shouldn't be allowed!