Project

General

Profile

« Previous | Next » 

Revision a70b1e96

Added by Leszek Koltunski 12 months ago

Actually use the 'overridable rotation factors' feature and tweat the factors of many objects.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyTins.java
75 75
    return ScrambleEdgeGenerator.getScramblingAlgorithms(mBasicAngle, mRotatable);
76 76
    }
77 77

  
78
///////////////////////////////////////////////////////////////////////////////////////////////////
79

  
80
  @Override
81
  public float[][] returnRotationFactor()
82
    {
83
    float C1 = 1.7f;
84
    float C2 = 2.5f;
85
    float[] f = new float[] { C2,C1,C1,C1,C2 };
86
    return new float[][] { f,f,f,f };
87
    }
88

  
78 89
///////////////////////////////////////////////////////////////////////////////////////////////////
79 90

  
80 91
  public float[][] getCuts(int[] numLayers)

Also available in: Unified diff