Project

General

Profile

« Previous | Next » 

Revision 4946b635

Added by Leszek Koltunski over 2 years ago

Major abstraction - automatically compute the 'computeRowFromOffset()' function from CUTS.
Still one thing left: it appears like the CUTS of Mega/Kilominxes are not correct.

View differences:

src/main/java/org/distorted/objects/TwistySkewb.java
553 553
      if( mCuts==null ) getCuts(numLayers);
554 554
      getLayerRotatable(numLayers);
555 555

  
556
      mMovement = new MovementCornerTwisting(mCuts,mLayerRotatable,numLayers);
556
      mMovement = new MovementCornerTwisting(mCuts,mLayerRotatable,2*numLayers-2);
557 557
      }
558 558
    return mMovement;
559 559
    }

Also available in: Unified diff