Revision d99f3a48
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/objects/TwistyDiamond.java | ||
---|---|---|
126 | 126 |
TwistyDiamond(int size, Static4D quat, DistortedTexture texture, |
127 | 127 |
MeshSquare mesh, DistortedEffects effects, int[][] moves, Resources res, int scrWidth) |
128 | 128 |
{ |
129 |
super(size, 60, quat, texture, mesh, effects, moves, ObjectList.DIAM, res, scrWidth); |
|
129 |
super(size, size, 60, quat, texture, mesh, effects, moves, ObjectList.DIAM, res, scrWidth);
|
|
130 | 130 |
} |
131 | 131 |
|
132 | 132 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Spearate the concept of number of layers of an object and its size.
In case of the Skewb family, this is no longer the same (Master Skewb has 3 layers but it's twice bigger than the 2-layered Skewb)