Revision a57e6870
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/main/Twisty8.java | ||
---|---|---|
41 | 41 |
|
42 | 42 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
43 | 43 |
|
44 |
public Twisty8(int numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture, |
|
44 |
public Twisty8(int[] numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture,
|
|
45 | 45 |
MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth) |
46 | 46 |
{ |
47 | 47 |
super(numLayers, realSize, quat, move, texture, mesh, effects, res, scrWidth); |
... | ... | |
81 | 81 |
{ |
82 | 82 |
return 0.65f; |
83 | 83 |
} |
84 |
|
|
85 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
86 |
|
|
87 |
protected float returnMultiplier() |
|
88 |
{ |
|
89 |
return 1.5f; |
|
90 |
} |
|
91 | 84 |
} |
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!