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/TwistyDiamond.java
54 54
    super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
55 55
    }
56 56

  
57
///////////////////////////////////////////////////////////////////////////////////////////////////
58

  
59
  @Override
60
  public float[][] returnRotationFactor()
61
    {
62
    int numL = getNumLayers()[0];
63
    float[] f = new float[numL];
64
    for(int i=0; i<numL; i++) f[i] = 1.5f;
65
    return new float[][] { f,f,f,f };
66
    }
67

  
57 68
///////////////////////////////////////////////////////////////////////////////////////////////////
58 69

  
59 70
  public int[][] getScrambleEdges()

Also available in: Unified diff