Project

General

Profile

« Previous | Next » 

Revision 722b2512

Added by Leszek Koltunski about 3 years ago

Simplifications.

View differences:

src/main/java/org/distorted/objects/TwistyMegaminx.java
162 162
    mBasicCornerV[0] = new Static4D( (SQ5+1)*0.125f, (SQ5-1)*0.125f, -0.250f, 0.0f );
163 163
    mBasicCornerV[1] = new Static4D(-(SQ5+1)*0.125f, (SQ5-1)*0.125f, -0.250f, 0.0f );
164 164
    mBasicCornerV[2] = new Static4D(              0,        -0.500f,    0.0f, 0.0f );
165
    };
165
    }
166 166

  
167 167
///////////////////////////////////////////////////////////////////////////////////////////////////
168 168

  
......
576 576

  
577 577
    for(int i=1; i<NUM_CUBITS; i++)
578 578
      {
579
      if( !thereIsNoVisibleDifference(CUBITS[i], index) ) return false;
579
      if( thereIsVisibleDifference(CUBITS[i], index) ) return false;
580 580
      }
581 581

  
582 582
    return true;

Also available in: Unified diff