Project

General

Profile

« Previous | Next » 

Revision c9c71c3f

Added by Leszek Koltunski over 2 years ago

Abstract out the TouchControl stuff in preparation for its new type - TouchControlShapeChanging.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistySquare1.java
24 24
import org.distorted.library.type.Static3D;
25 25
import org.distorted.library.type.Static4D;
26 26

  
27
import org.distorted.objectlib.movement.MovementHexahedron;
27
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron;
28 28
import org.distorted.objectlib.main.ObjectControl;
29 29
import org.distorted.objectlib.main.ObjectType;
30 30
import org.distorted.objectlib.helpers.ObjectShape;
......
70 70
    {
71 71
    if( mQuats==null ) initializeQuats();
72 72
    int status = retCubitSolvedStatus(cubit,numLayers);
73
    return status<0 ? null : buildSolvedQuats(MovementHexahedron.FACE_AXIS[status],mQuats);
73
    return status<0 ? null : buildSolvedQuats(TouchControlHexahedron.FACE_AXIS[status],mQuats);
74 74
    }
75 75

  
76 76
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff