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/TwistyRex.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 C = 1.5f;
63
    float[] f = new float[] { C,C,C };
64
    return new float[][] { f,f,f,f };
65
    }
66

  
57 67
///////////////////////////////////////////////////////////////////////////////////////////////////
58 68

  
59 69
  @Override

Also available in: Unified diff