Revision e9791024
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/solvers/SolverIvyCube.java | ||
---|---|---|
271 | 271 |
|
272 | 272 |
// android.util.Log.e("D", "twist : "+twist[0]+" "+twist[1]+" "+twist[2]+" "+twist[3]); |
273 | 273 |
|
274 |
return perm_num + 360*(twist[0]+ 3*(twist[1]+ 3*(twist[2]+ 3*twist[3]))); |
|
274 |
int ret = perm_num + 360*(twist[0]+ 3*(twist[1]+ 3*(twist[2]+ 3*twist[3]))); |
|
275 |
|
|
276 |
android.util.Log.e("D", "index: "+ret+" perm_num="+perm_num); |
|
277 |
|
|
278 |
return ret; |
|
275 | 279 |
} |
276 | 280 |
|
277 | 281 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Correct Ivy's order of cubits.