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

  
60
///////////////////////////////////////////////////////////////////////////////////////////////////
61

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

  
60 71
///////////////////////////////////////////////////////////////////////////////////////////////////
61 72

  
62 73
  @Override

Also available in: Unified diff