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

  
59
///////////////////////////////////////////////////////////////////////////////////////////////////
60

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

  
59 70
///////////////////////////////////////////////////////////////////////////////////////////////////
60 71

  
61 72
  @Override

Also available in: Unified diff