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/Twisty4.java
39 39

  
40 40
///////////////////////////////////////////////////////////////////////////////////////////////////
41 41

  
42
  public Twisty4(int numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture,
42
  public Twisty4(int[] numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture,
43 43
                 MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth)
44 44
    {
45 45
    super(numLayers, realSize, quat, move, texture, mesh, effects, res, scrWidth);
......
79 79
    {
80 80
    return 0.88f;
81 81
    }
82

  
83
///////////////////////////////////////////////////////////////////////////////////////////////////
84

  
85
  protected float returnMultiplier()
86
    {
87
    return getNumLayers()/(SQ6/3);
88
    }
89 82
}

Also available in: Unified diff