Revision efef689c
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikObjectMovement.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.object; |
21 | 21 |
|
22 |
import org.distorted.library.type.Static2D; |
|
22 | 23 |
import org.distorted.library.type.Static4D; |
23 | 24 |
|
24 | 25 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
26 | 27 |
public abstract class RubikObjectMovement |
27 | 28 |
{ |
28 | 29 |
public abstract boolean faceTouched(Static4D rotatedTouchPoint, Static4D rotatedCamera); |
29 |
public abstract Static4D newRotation(Static4D rotatedTouchPoint);
|
|
30 |
public abstract Static2D newRotation(Static4D rotatedTouchPoint);
|
|
30 | 31 |
public abstract float continueRotation(Static4D rotatedTouchPoint); |
31 | 32 |
} |
Also available in: Unified diff
Progress towards generalizing belongsToRotation()