Revision 57ef6378
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControlDodecahedron.java | ||
---|---|---|
22 | 22 |
import static org.distorted.objectlib.main.TwistyObject.SQ5; |
23 | 23 |
|
24 | 24 |
import org.distorted.library.type.Static3D; |
25 |
import org.distorted.objectlib.main.TwistyObject; |
|
25 | 26 |
|
26 | 27 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
27 | 28 |
// Dodecahedral objects: map the 2D swipes of user's fingers to 3D rotations |
... | ... | |
56 | 57 |
|
57 | 58 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
58 | 59 |
|
59 |
public TouchControlDodecahedron(Static3D[] rotAxis, float[][] cuts, boolean[][] rotatable, float size, int type, int[][][] enabled)
|
|
60 |
public TouchControlDodecahedron(TwistyObject object)
|
|
60 | 61 |
{ |
61 |
super(rotAxis, FACE_AXIS, cuts,rotatable,D3D, size, type, enabled);
|
|
62 |
super(object,D3D,FACE_AXIS);
|
|
62 | 63 |
} |
63 | 64 |
|
64 | 65 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Float vertices - scratchbook