Revision fb1e9a31
Added by Leszek Koltunski 12 months ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControlIcosahedron.java | ||
---|---|---|
123 | 123 |
super(object,D3D,FACE_AXIS); |
124 | 124 |
} |
125 | 125 |
|
126 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
127 |
|
|
128 |
public float returnRotationFactor(int[] numLayers, int row) |
|
129 |
{ |
|
130 |
return 1.0f; |
|
131 |
} |
|
132 |
|
|
133 | 126 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
134 | 127 |
|
135 | 128 |
private boolean isFaceInverted(int face) |
Also available in: Unified diff
move the returnRotationFactor() method from touchControl to TwistyObject (where it can be overridden)