Revision 88411172
Added by Leszek Koltunski 6 months ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControlBall.java | ||
---|---|---|
31 | 31 |
private final float[] mMove2D; |
32 | 32 |
private final float[][] mCastedRotAxis; |
33 | 33 |
private float[][] mTouchBorders; |
34 |
private int mGhostAxisEnabled; |
|
35 | 34 |
|
36 | 35 |
private float mLongitude, mLatitude; |
37 | 36 |
private float mX, mY, mZ; |
... | ... | |
361 | 360 |
{ |
362 | 361 |
return false; |
363 | 362 |
} |
364 |
|
|
365 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
366 |
|
|
367 |
public void enableGhostAxis(int axNum, boolean enable) |
|
368 |
{ |
|
369 |
mGhostAxisEnabled = enable ? -1 : axNum; |
|
370 |
} |
|
371 | 363 |
} |
Also available in: Unified diff
Beginnings of support for flat shapeshifting cuboids and for not-rotatable rows in TouchControlChanging [this last thing still does not work correctly]