Project

General

Profile

« Previous | Next » 

Revision e36b59bc

Added by Leszek Koltunski over 4 years ago

Improve rotations of the Pyraminx.

View differences:

src/main/java/org/distorted/objects/RubikPyraminx.java
369 369
    }
370 370

  
371 371
///////////////////////////////////////////////////////////////////////////////////////////////////
372
// I don't quite understand it, but 0.82 works better than the theoretically correct SQ3/2 ( 0.866 )
372 373

  
373 374
  public float returnMultiplier()
374 375
    {
375
    return getSize()/(SQ3/2);
376
    return getSize()/0.82f;//(SQ3/2);
376 377
    }
377 378

  
378 379
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff