Project

General

Profile

« Previous | Next » 

Revision 15da2470

Added by Leszek Koltunski over 3 years ago

New 'JingPyraminx' object - add the mesh.

View differences:

src/main/java/org/distorted/objects/ObjectList.java
51 51

  
52 52
  JING (
53 53
         new int[][] {
54
                       {2 , 10, 10, 0, R.drawable.ui_small_ulti, R.drawable.ui_medium_ulti, R.drawable.ui_big_ulti, R.drawable.ui_huge_ulti} ,
54
                       {2 , 10, 10, R.raw.jing, R.drawable.ui_small_ulti, R.drawable.ui_medium_ulti, R.drawable.ui_big_ulti, R.drawable.ui_huge_ulti} ,
55 55
                     },
56 56
         TwistyJing.class,
57 57
         new MovementJing(),
src/main/java/org/distorted/objects/TwistyJing.java
293 293
        {
294 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} };
295 295
        int[] bandIndexes   = new int[] { 0,0,0,1,1,1 };
296
        float[][] corners   = new float[][] { {0.10f,0.20f*F},{0.07f,0.20f*F} };
296
        float[][] corners   = new float[][] { {0.08f,0.20f*F},{0.07f,0.20f*F} };
297 297
        int[] cornerIndexes = new int[] { 0,1,1,-1,1,-1,-1,-1 };
298 298
        float[][] centers   = new float[][] { { 0.0f, F*SQ2/2, -F} };
299 299
        int[] centerIndexes = new int[] { 0,0,0,-1,0,-1,-1,-1 };

Also available in: Unified diff