Revision 8bbac3c2
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/objects/RubikPyraminx.java | ||
---|---|---|
384 | 384 |
} |
385 | 385 |
|
386 | 386 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
387 |
// I don't quite understand it, but 0.82 works better than the theoretically correct SQ3/2 ( 0.866 ) |
|
387 | 388 |
|
388 | 389 |
public float returnMultiplier() |
389 | 390 |
{ |
390 |
return getSize()/(SQ3/2); |
|
391 |
return getSize()/0.82f;//(SQ3/2);
|
|
391 | 392 |
} |
392 | 393 |
|
393 | 394 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Improve rotations of the Pyraminx; synchronize begin/add/finish Rotation in the RubikObject (now it is possible to begin new rotation when an old one didn't finish yet!)