Project

General

Profile

« Previous | Next » 

Revision cce59cd4

Added by Leszek Koltunski over 3 years ago

Solve bug with detection of the Rex Cube solved state reported by Hitendar Goal.

View differences:

src/main/java/org/distorted/objects/TwistyRex.java
477 477

  
478 478
  public boolean isSolved()
479 479
    {
480
    int q1,q = CUBITS[0].mQuatIndex;
480
    int q1,q = CUBITS[30].mQuatIndex;
481 481

  
482
    for(int i=30; i<42; i++)
482
    for(int i=31; i<42; i++)
483 483
      {
484 484
      if( CUBITS[i].mQuatIndex != q) return false;
485 485
      }

Also available in: Unified diff