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

  
58
///////////////////////////////////////////////////////////////////////////////////////////////////
59

  
60
  @Override
61
  public float[][] returnRotationFactor()
62
    {
63
    float C = 1.5f;
64
    float[] f = new float[] { C,C };
65
    return new float[][] { f,f,f,f };
66
    }
67

  
58 68
///////////////////////////////////////////////////////////////////////////////////////////////////
59 69
// ditto, manually provide the sticker coordinates.
60 70

  

Also available in: Unified diff