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/TouchControlShapeConstant.java
45 45

  
46 46
  TouchControlShapeConstant(TwistyObject object, float[] distance3D, Static3D[] faceAxis)
47 47
    {
48
    super(object.getObjectRatio());
48
    super(object);
49 49

  
50 50
    int[] numLayers       = object.getNumLayers();
51 51
    float[][] cuts        = object.getCuts(numLayers);

Also available in: Unified diff