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/TwistyCoinHexahedron.java
99 99
    return ScrambleEdgeGenerator.getScramblingAlgorithms(mBasicAngle, mRotatable);
100 100
    }
101 101

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

  
104
  @Override
105
  public float[][] returnRotationFactor()
106
    {
107
    float C1 = 2.5f;
108
    float C2 = 1.0f;
109
    float[] f1 = new float[] { C1,C1,C1 };
110
    float[] f2 = new float[] { C2,C2,C2 };
111

  
112
    return new float[][] { f1,f1,f1,f1, f2,f2,f2 };
113
    }
114

  
102 115
///////////////////////////////////////////////////////////////////////////////////////////////////
103 116

  
104 117
  public float[][] getCuts(int[] numLayers)

Also available in: Unified diff