Project

General

Profile

« Previous | Next » 

Revision 854b09be

Added by Leszek Koltunski over 2 years ago

Improve the Jing mesh.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyJing.java
291 291
             {4,7,6,5}
292 292
          };
293 293

  
294
      float[][] bands     = new float[][] { {0.015f,35,0.5f*F,F,5,1,1},{0.001f,35,0.5f*F,F,5,1,1} };
294
      float[][] bands     = new float[][] { {0.015f,35,0.3f*F,0.6f*F,5,1,1},{0.001f,35,0.3f*F,0.6f*F,5,1,1} };
295 295
      int[] bandIndices   = new int[] { 0,0,0,1,1,1 };
296 296
      float[][] corners   = new float[][] { {0.08f,0.20f*F},{0.07f,0.20f*F} };
297 297
      int[] cornerIndices = new int[] { 0,1,1,-1,1,-1,-1,-1 };
298
      float[][] centers   = new float[][] { { 0.0f, F*SQ2/2, -F} };
298
      float[][] centers   = new float[][] { { 0.0f, Y, Z-F/2} };
299 299
      int[] centerIndices = new int[] { 0,0,0,-1,0,-1,-1,-1 };
300 300
      return new ObjectShape(vertices,vert_indices,bands,bandIndices,corners,cornerIndices,centers,centerIndices,getNumCubitFaces(), null);
301 301
      }

Also available in: Unified diff