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

  
58
///////////////////////////////////////////////////////////////////////////////////////////////////
59

  
60
  @Override
61
  public float[][] returnRotationFactor()
62
    {
63
    float[] f = new float[] {1.4f,1.8f};
64
    return new float[][] { f,f,f,f };
65
    }
66

  
58 67
///////////////////////////////////////////////////////////////////////////////////////////////////
59 68
// single edge; only the tip layers move
60 69

  

Also available in: Unified diff