Revision 9a7e8b98
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControl.java | ||
---|---|---|
16 | 16 |
public abstract class TouchControl |
17 | 17 |
{ |
18 | 18 |
// it doesn't matter where we touch a face - the list of enabled rotAxis will always be the same |
19 |
public static final int TYPE_NOT_SPLIT = 0; |
|
19 |
public static final int TYPE_NOT_SPLIT = 0;
|
|
20 | 20 |
// each face is split into several parts by lines coming from its center to the midpoints of each edge |
21 |
public static final int TYPE_SPLIT_EDGE = 1; |
|
21 |
public static final int TYPE_SPLIT_EDGE = 1;
|
|
22 | 22 |
// each face is split into several parts by lines coming from its center to the vertices |
23 |
public static final int TYPE_SPLIT_CORNER = 2; |
|
23 |
public static final int TYPE_SPLIT_CORNER = 2; |
|
24 |
// each face is split into several parts by lines coming from its center to the midpoints of each edge, |
|
25 |
// and also it has an inscribed circle [ see coin tetrahedron!) |
|
26 |
public static final int TYPE_SPLIT_EDGE_COIN= 3; |
|
24 | 27 |
|
25 | 28 |
public static final int TC_HEXAHEDRON = 6; |
26 | 29 |
public static final int TC_TETRAHEDRON = 4; |
Also available in: Unified diff
new SPLIT type: type EDGE_COIN (will be used in Coin Tetrahedron).
Only supported in Tetrahedrons for now.