Revision a57e6870
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/main/Twisty6.java | ||
---|---|---|
40 | 40 |
|
41 | 41 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
42 | 42 |
|
43 |
public Twisty6(int numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture, |
|
43 |
public Twisty6(int[] numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture,
|
|
44 | 44 |
MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth) |
45 | 45 |
{ |
46 | 46 |
super(numLayers, realSize, quat, move, texture, mesh, effects, res, scrWidth); |
... | ... | |
80 | 80 |
{ |
81 | 81 |
return 0.5f; |
82 | 82 |
} |
83 |
|
|
84 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
85 |
|
|
86 |
protected float returnMultiplier() |
|
87 |
{ |
|
88 |
return getNumLayers(); |
|
89 |
} |
|
90 | 83 |
} |
Also available in: Unified diff
make numLayers into an int[] (preparation for Cuboids)
Caution: because of previous changes to cubit order in cube, the Solver is broken!