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/TwistyCoinTetrahedron.java
59 59
    super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
60 60
    }
61 61

  
62
///////////////////////////////////////////////////////////////////////////////////////////////////
63

  
64
  @Override
65
  public float[][] returnRotationFactor()
66
    {
67
    float C1 = 1.0f;
68
    float C2 = 1.7f;
69
    float[] f = new float[] { C1,C1,C2 };
70
    return new float[][] { f,f,f,f };
71
    }
72

  
62 73
///////////////////////////////////////////////////////////////////////////////////////////////////
63 74

  
64 75
  public int[][] getScrambleEdges()

Also available in: Unified diff