Revision 57ef6378
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControlTetrahedron.java | ||
---|---|---|
20 | 20 |
package org.distorted.objectlib.touchcontrol; |
21 | 21 |
|
22 | 22 |
import org.distorted.library.type.Static3D; |
23 |
import org.distorted.objectlib.main.TwistyObject; |
|
23 | 24 |
|
24 | 25 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
25 | 26 |
// Tetrahedral objects: map the 2D swipes of user's fingers to 3D rotations |
... | ... | |
41 | 42 |
|
42 | 43 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
43 | 44 |
|
44 |
public TouchControlTetrahedron(Static3D[] rotAxis, float[][] cuts, boolean[][] rotatable, float size, int type, int[][][] enabled)
|
|
45 |
public TouchControlTetrahedron(TwistyObject object)
|
|
45 | 46 |
{ |
46 |
super(rotAxis, FACE_AXIS, cuts, rotatable, D3D, size, type, enabled);
|
|
47 |
super(object,D3D,FACE_AXIS);
|
|
47 | 48 |
} |
48 | 49 |
|
49 | 50 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Float vertices - scratchbook