Project

General

Profile

« Previous | Next » 

Revision fb1e9a31

Added by Leszek Koltunski 12 months ago

move the returnRotationFactor() method from touchControl to TwistyObject (where it can be overridden)

View differences:

src/main/java/org/distorted/objectlib/touchcontrol/TouchControlOctahedron.java
99 99
    return 0;
100 100
    }
101 101

  
102
///////////////////////////////////////////////////////////////////////////////////////////////////
103

  
104
  public float returnRotationFactor(int[] numLayers, int row)
105
    {
106
    return 1.0f;
107
    }
108

  
109 102
///////////////////////////////////////////////////////////////////////////////////////////////////
110 103

  
111 104
  boolean isInsideFace(int face, float[] point)

Also available in: Unified diff