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/TwistyContainer.java
51 51
    super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
52 52
    }
53 53

  
54
///////////////////////////////////////////////////////////////////////////////////////////////////
55

  
56
  @Override
57
  public float[][] returnRotationFactor()
58
    {
59
    float C = 1.3f;
60
    float[] f = new float[] {C,C};
61
    return new float[][] { f,f,f,f };
62
    }
63

  
54 64
///////////////////////////////////////////////////////////////////////////////////////////////////
55 65
// we want colorful insides
56 66

  

Also available in: Unified diff