Revision a6aa9a47
Added by Leszek Koltunski 12 months ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControl.java | ||
---|---|---|
135 | 135 |
public abstract boolean objectTouched(Static4D rotatedTouchPoint, Static4D rotatedCamera); |
136 | 136 |
public abstract void newRotation(int[] output, Static4D rotatedTouchPoint, Static4D quat); |
137 | 137 |
public abstract void getCastedRotAxis(float[] output, Static4D quat, int rotIndex); |
138 |
public abstract boolean axisAndFaceAgree(int rotIndex); |
|
138 | 139 |
public abstract int getTouchedCubitFace(); |
139 | 140 |
public abstract int getTouchedCubit(); |
140 | 141 |
public abstract float[] getTouchedPuzzleCenter(); |
Also available in: Unified diff
Improve the 'rot axis parallel to face axis' touch control mode:
support case when the rot axis is parallel and agrees in direction with the face axis, and the one when they disagreee in direction.