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/TwistyMasterball.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
    float C1 = 1.0f;
63
    float C2 = 1.7f;
64
    float[] f1 = new float[] { C1,C1,C1,C1 };
65
    float[] f2 = new float[] { C2,C2};
66
    return new float[][] { f1,f2,f2,f2,f2 };
67
    }
68

  
57 69
///////////////////////////////////////////////////////////////////////////////////////////////////
58 70
// make the equator a bit thicker
59 71

  

Also available in: Unified diff