Revision ccd8a6f2
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/tablebases/TablebasesPyraminx.java | ||
---|---|---|
10 | 10 |
package org.distorted.objectlib.tablebases; |
11 | 11 |
|
12 | 12 |
import static org.distorted.objectlib.main.TwistyObject.SQ2; |
13 |
import static org.distorted.objectlib.main.TwistyObject.SQ3; |
|
13 | 14 |
import static org.distorted.objectlib.main.TwistyObject.SQ6; |
14 | 15 |
|
15 | 16 |
import android.content.res.Resources; |
16 | 17 |
|
17 | 18 |
import org.distorted.library.type.Static3D; |
18 | 19 |
import org.distorted.objectlib.R; |
19 |
import org.distorted.objectlib.objects.TwistyPyraminx; |
|
20 | 20 |
|
21 | 21 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
22 | 22 |
|
... | ... | |
58 | 58 |
|
59 | 59 |
Static3D[] getRotationAxis() |
60 | 60 |
{ |
61 |
return TwistyPyraminx.ROT_AXIS; |
|
61 |
return new Static3D[] |
|
62 |
{ |
|
63 |
new Static3D( 0,-SQ3/3,-SQ6/3), |
|
64 |
new Static3D( 0,-SQ3/3, SQ6/3), |
|
65 |
new Static3D( SQ6/3, SQ3/3, 0), |
|
66 |
new Static3D(-SQ6/3, SQ3/3, 0), |
|
67 |
}; |
|
62 | 68 |
} |
63 | 69 |
|
64 | 70 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Disconnect the rotation axis in the Tablebases from the axis in the objects.