Project

General

Profile

« Previous | Next » 

Revision 9621255f

Added by Leszek Koltunski about 4 years ago

Progress with the 3x3x3 Solver.

View differences:

src/main/java/org/distorted/objects/RubikPyraminx.java
305 305

  
306 306
///////////////////////////////////////////////////////////////////////////////////////////////////
307 307

  
308
  public int returnRowFromOffset(float offset)
308
  public float returnMultiplier()
309 309
    {
310
    return (int)(getSize()*offset/(SQ3/2));
310
    return getSize()/(SQ3/2);
311 311
    }
312 312

  
313 313
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff