Project

General

Profile

« Previous | Next » 

Revision a135652b

Added by Leszek Koltunski over 2 years ago

Improve cuboids: single-layer cuboids should work. 1x1x1 does!

View differences:

src/main/java/org/distorted/objectlib/main/ObjectType.java
69 69

  
70 70
  CU_223 ( new int[] {2,3,2}      , 16, R.drawable.s_cube_2, R.drawable.m_cube_2, R.drawable.b_cube_2, R.drawable.h_cube_2),
71 71
  CU_334 ( new int[] {3,4,3}      , 20, R.drawable.s_cube_3, R.drawable.m_cube_3, R.drawable.b_cube_3, R.drawable.h_cube_3),
72
  CU_122 ( new int[] {1,2,2}      , 20, R.drawable.s_cube_3, R.drawable.m_cube_3, R.drawable.b_cube_3, R.drawable.h_cube_3),
73
  CU_321 ( new int[] {3,2,1}      , 20, R.drawable.s_cube_3, R.drawable.m_cube_3, R.drawable.b_cube_3, R.drawable.h_cube_3),
74
  CU_111 ( new int[] {1,1,1}      , 20, R.drawable.s_cube_3, R.drawable.m_cube_3, R.drawable.b_cube_3, R.drawable.h_cube_3),
72 75
  ;
73 76

  
74 77
  public static final int NUM_OBJECTS = values().length;
......
203 206
      case 31: return new TwistyMirror        (numL, quat, move, texture, mesh, effects, res, scrWidth);
204 207

  
205 208
      case 32:
206
      case 33: return new TwistyCube          (numL, quat, move, texture, mesh, effects, res, scrWidth);
207

  
209
      case 33:
210
      case 34:
211
      case 35:
212
      case 36: return new TwistyCube          (numL, quat, move, texture, mesh, effects, res, scrWidth);
208 213
      }
209 214

  
210 215
    return null;

Also available in: Unified diff