Revision fb1e9a31
Added by Leszek Koltunski 12 months ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControlCuboids.java | ||
---|---|---|
41 | 41 |
return 0; |
42 | 42 |
} |
43 | 43 |
|
44 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
45 |
|
|
46 |
public float returnRotationFactor(int[] numLayers, int row) |
|
47 |
{ |
|
48 |
return 1.0f; |
|
49 |
} |
|
50 |
|
|
51 | 44 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
52 | 45 |
|
53 | 46 |
boolean isInsideFace(int face, float[] p) |
Also available in: Unified diff
move the returnRotationFactor() method from touchControl to TwistyObject (where it can be overridden)