Revision 57ef6378
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControlCuboids.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 |
// Cuboids |
... | ... | |
37 | 38 |
|
38 | 39 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
39 | 40 |
|
40 |
public TouchControlCuboids(Static3D[] rotAxis, float[][] cuts, boolean[][] rotatable, float size, int type, |
|
41 |
int[][][] enabled, float[] dist3D) |
|
41 |
public TouchControlCuboids(TwistyObject object, float[] dist3D) |
|
42 | 42 |
{ |
43 |
super(rotAxis, FACE_AXIS, cuts, rotatable, dist3D, size, type, enabled); |
|
44 |
|
|
43 |
super(object,dist3D,FACE_AXIS); |
|
45 | 44 |
mDist3D = dist3D; |
46 | 45 |
} |
47 | 46 |
|
Also available in: Unified diff
Float vertices - scratchbook