Revision bb11be2a
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/MovementMinx.java | ||
---|---|---|
20 | 20 |
package org.distorted.objects; |
21 | 21 |
|
22 | 22 |
import org.distorted.library.type.Static3D; |
23 |
import static org.distorted.objects.TwistyKilominx.C1; |
|
24 |
import static org.distorted.objects.TwistyKilominx.C2; |
|
25 |
import static org.distorted.objects.TwistyKilominx.LEN; |
|
26 |
import static org.distorted.helpers.FactoryCubit.SIN54; |
|
27 |
import static org.distorted.helpers.FactoryCubit.COS54; |
|
23 |
import static org.distorted.objects.TwistyMinx.C2; |
|
24 |
import static org.distorted.objects.TwistyMinx.LEN; |
|
25 |
import static org.distorted.objects.TwistyMinx.SIN54; |
|
26 |
import static org.distorted.objects.TwistyMinx.COS54; |
|
28 | 27 |
import static org.distorted.objects.TwistyObject.SQ5; |
29 | 28 |
|
30 | 29 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
36 | 35 |
|
37 | 36 |
static final Static3D[] FACE_AXIS = new Static3D[] |
38 | 37 |
{ |
39 |
new Static3D( C2/LEN, C1/LEN, 0 ),
|
|
40 |
new Static3D( C2/LEN,-C1/LEN, 0 ),
|
|
41 |
new Static3D(-C2/LEN, C1/LEN, 0 ),
|
|
42 |
new Static3D(-C2/LEN,-C1/LEN, 0 ),
|
|
43 |
new Static3D( 0 , C2/LEN, C1/LEN ),
|
|
44 |
new Static3D( 0 , C2/LEN,-C1/LEN ),
|
|
45 |
new Static3D( 0 ,-C2/LEN, C1/LEN ),
|
|
46 |
new Static3D( 0 ,-C2/LEN,-C1/LEN ),
|
|
47 |
new Static3D( C1/LEN, 0 , C2/LEN ),
|
|
48 |
new Static3D( C1/LEN, 0 ,-C2/LEN ),
|
|
49 |
new Static3D(-C1/LEN, 0 , C2/LEN ),
|
|
50 |
new Static3D(-C1/LEN, 0 ,-C2/LEN )
|
|
38 |
new Static3D( C2/LEN, SIN54/LEN, 0 ),
|
|
39 |
new Static3D( C2/LEN,-SIN54/LEN, 0 ),
|
|
40 |
new Static3D( -C2/LEN, SIN54/LEN, 0 ),
|
|
41 |
new Static3D( -C2/LEN,-SIN54/LEN, 0 ),
|
|
42 |
new Static3D( 0 , C2/LEN, SIN54/LEN ),
|
|
43 |
new Static3D( 0 , C2/LEN,-SIN54/LEN ),
|
|
44 |
new Static3D( 0 , -C2/LEN, SIN54/LEN ),
|
|
45 |
new Static3D( 0 , -C2/LEN,-SIN54/LEN ),
|
|
46 |
new Static3D( SIN54/LEN, 0 , C2/LEN ),
|
|
47 |
new Static3D( SIN54/LEN, 0 , -C2/LEN ),
|
|
48 |
new Static3D(-SIN54/LEN, 0 , C2/LEN ),
|
|
49 |
new Static3D(-SIN54/LEN, 0 , -C2/LEN )
|
|
51 | 50 |
}; |
52 | 51 |
|
53 | 52 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
New cubit engine: finish converting Kilominx & Megaminx.