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/TouchControlHexahedron.java
77 77
    return 0;
78 78
    }
79 79

  
80
///////////////////////////////////////////////////////////////////////////////////////////////////
81

  
82
  public float returnRotationFactor(int[] numLayers, int row)
83
    {
84
    return 1.0f;
85
    }
86

  
87 80
///////////////////////////////////////////////////////////////////////////////////////////////////
88 81

  
89 82
  boolean isInsideFace(int face, float[] p)

Also available in: Unified diff