Revision ccd8a6f2
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/tablebases/TablebasesPyraminxDuo.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; |
|
14 |
import static org.distorted.objectlib.main.TwistyObject.SQ6; |
|
13 | 15 |
|
14 | 16 |
import android.content.res.Resources; |
15 | 17 |
|
16 | 18 |
import org.distorted.library.type.Static3D; |
17 |
import org.distorted.objectlib.objects.TwistyPyraminxDuo; |
|
18 | 19 |
|
19 | 20 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
20 | 21 |
|
... | ... | |
46 | 47 |
|
47 | 48 |
Static3D[] getRotationAxis() |
48 | 49 |
{ |
49 |
return TwistyPyraminxDuo.ROT_AXIS; |
|
50 |
return new Static3D[] |
|
51 |
{ |
|
52 |
new Static3D( 0,-SQ3/3,-SQ6/3), |
|
53 |
new Static3D( 0,-SQ3/3, SQ6/3), |
|
54 |
new Static3D( SQ6/3, SQ3/3, 0), |
|
55 |
new Static3D(-SQ6/3, SQ3/3, 0), |
|
56 |
}; |
|
50 | 57 |
} |
51 | 58 |
|
52 | 59 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Disconnect the rotation axis in the Tablebases from the axis in the objects.