Project

General

Profile

« Previous | Next » 

Revision d309baa5

Added by Leszek Koltunski over 2 years ago

Make the cube meshes even a bit smaller

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyCube.java
254 254
        default: num2 = 3; extraI2 = 0; extraV2 = 0; break;
255 255
        }
256 256

  
257
      float[][] bands   = new float[][] { {height,35,0.5f,0.7f,num,extraI,extraV}, {height,35,0.5f,0.7f,num2,extraI2,extraV2} };
258
      int[] bandIndices = new int[] { 1,1,1,1,0,1};
257
      float[][] bands   = new float[][]
258
        {
259
          {height,35,0.5f,0.7f,num ,extraI ,extraV },
260
          {height,35,0.5f,0.7f,num2,extraI2,extraV2},
261
          {height,35,0.5f,0.7f,   2,      0,      0},
262
        };
263
      int[] bandIndices = new int[] { 1,1,1,1,0,2};
259 264
      return new ObjectShape(vertices,vert_indices,bands,bandIndices,corners,cornerIndices,centers,centerIndices,getNumCubitFaces(), null);
260 265
      }
261 266
    }

Also available in: Unified diff