Project

General

Profile

« Previous | Next » 

Revision dfdb26a9

Added by Leszek Koltunski over 2 years ago

First attempt at cuboids. 2x2x3 and 3x3x4 mostly working :)

View differences:

src/main/java/org/distorted/objectlib/main/ObjectType.java
66 66
  SQU2_3 ( new int[] {3,2,3}      , 24, R.drawable.s_squ2_3, R.drawable.m_squ2_3, R.drawable.b_squ2_3, R.drawable.h_squ2_3),
67 67
  MIRR_2 ( new int[] {2,2,2}      , 12, R.drawable.s_mirr_2, R.drawable.m_mirr_2, R.drawable.b_mirr_2, R.drawable.h_mirr_2),
68 68
  MIRR_3 ( new int[] {3,3,3}      , 17, R.drawable.s_mirr_3, R.drawable.m_mirr_3, R.drawable.b_mirr_3, R.drawable.h_mirr_3),
69

  
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
  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),
69 72
  ;
70 73

  
71 74
  public static final int NUM_OBJECTS = values().length;
......
198 201
      case 29: return new TwistySquare2       (numL, quat, move, texture, mesh, effects, res, scrWidth);
199 202
      case 30:
200 203
      case 31: return new TwistyMirror        (numL, quat, move, texture, mesh, effects, res, scrWidth);
204

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

  
201 208
      }
202 209

  
203 210
    return null;

Also available in: Unified diff