Project

General

Profile

« Previous | Next » 

Revision cf2a888e

Added by Leszek Koltunski over 2 years ago

Improve the CU_232 mesh.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyCuboid.java
260 260
         };
261 261

  
262 262
         if( variant==0 ) bandIndices = new int[] {3,0,3,0,3,0};
263
    else if( variant==1 ) bandIndices = new int[] {1,1,1,0,1,0};
263
    else if( variant==1 ) bandIndices = numL==2 ? new int[] {0,0,1,0,1,0} : new int[] {1,1,1,0,1,0};
264 264
    else                  bandIndices = new int[] {2,2,2,2,0,2};
265 265

  
266 266
    return new ObjectFaceShape(bands,bandIndices,corners,indices,centers,indices, null);

Also available in: Unified diff