Project

General

Profile

« Previous | Next » 

Revision a57e6870

Added by Leszek Koltunski over 2 years ago

make numLayers into an int[] (preparation for Cuboids)
Caution: because of previous changes to cubit order in cube, the Solver is broken!

View differences:

src/main/java/org/distorted/objectlib/main/Twisty12.java
53 53

  
54 54
///////////////////////////////////////////////////////////////////////////////////////////////////
55 55

  
56
  public Twisty12(int numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture,
56
  public Twisty12(int[] numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture,
57 57
                  MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth)
58 58
    {
59 59
    super(numLayers, realSize, quat, move, texture, mesh, effects, res, scrWidth);
......
93 93
    {
94 94
    return 0.35f;
95 95
    }
96

  
97
///////////////////////////////////////////////////////////////////////////////////////////////////
98

  
99
  protected float returnMultiplier()
100
    {
101
    return 1.0f;
102
    }
103 96
}

Also available in: Unified diff