Project

General

Profile

« Previous | Next » 

Revision 9cd63ba8

Added by Leszek Koltunski 11 months ago

build.gradle: include directive to create a 'BuildConfig.java'
2 fixes for proper scrambling of locally created bandaged cuboids.

View differences:

src/main/java/org/distorted/objectlib/helpers/ObjectSignature.java
311 311
      // it can happen that there are no cycles in this layer: 2x1x2 axis 0 layer 0.
312 312
      if( cycles!=null && cycles.length>0 && cycles[0]!=null )
313 313
        {
314
        if( cycles[0].length==4 ) for(int[] cyc : cycles) ret.cycle4(turn,cyc);
315
        if( cycles[0].length==3 ) for(int[] cyc : cycles) ret.cycle3(turn,cyc);
316
        else                      for(int[] cyc : cycles) ret.cycle2(cyc);
314
             if( cycles[0].length==4 ) for(int[] cyc : cycles) ret.cycle4(turn,cyc);
315
        else if( cycles[0].length==3 ) for(int[] cyc : cycles) ret.cycle3(turn,cyc);
316
        else                           for(int[] cyc : cycles) ret.cycle2(cyc);
317 317
        }
318 318
      }
319 319

  

Also available in: Unified diff