Project

General

Profile

« Previous | Next » 

Revision 0cdd9b6c

Added by Leszek Koltunski almost 2 years ago

Important bugfix for fast scrambling!

View differences:

src/main/java/org/distorted/objectlib/scrambling/ScrambleStateBandagedCuboid.java
326 326
      if( moveIndex<size )
327 327
        {
328 328
        scramble[0] = axis;
329
        scramble[1] = 1<<(moveIndex % mSize[axis]);
329
        scramble[1] = moveIndex % mSize[axis];
330 330

  
331 331
        if( mTurns[axis]==3 )
332 332
          {

Also available in: Unified diff