Project

General

Profile

« Previous | Next » 

Revision 1e6fb034

Added by Leszek Koltunski almost 4 years ago

Megaminx mesh.

View differences:

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

  
142 142
  MEGA (
143 143
         new int[][] {
144
                       {3 , 21, R.raw.kilo3, R.drawable.ui_small_mega3, R.drawable.ui_medium_mega3, R.drawable.ui_big_mega3, R.drawable.ui_huge_mega3} ,
145
                       {5 , 25, R.raw.kilo3, R.drawable.ui_small_mega5, R.drawable.ui_medium_mega5, R.drawable.ui_big_mega5, R.drawable.ui_huge_mega5} ,
144
                       {3 , 21, R.raw.mega3, R.drawable.ui_small_mega3, R.drawable.ui_medium_mega3, R.drawable.ui_big_mega3, R.drawable.ui_huge_mega3} ,
145
              //       {5 , 25, R.raw.kilo3, R.drawable.ui_small_mega5, R.drawable.ui_medium_mega5, R.drawable.ui_big_mega5, R.drawable.ui_huge_mega5} ,
146 146
                     },
147 147
         TwistyMegaminx.class,
148 148
         new MovementMinx(),
src/main/java/org/distorted/objects/TwistyObject.java
79 79
  private static final float MAX_SIZE_CHANGE = 1.35f;
80 80
  private static final float MIN_SIZE_CHANGE = 0.75f;
81 81

  
82
  private static final boolean mCreateFromDMesh = false;
82
  private static final boolean mCreateFromDMesh = true;
83 83

  
84 84
  private static final Static3D CENTER = new Static3D(0,0,0);
85 85
  private static final int POST_ROTATION_MILLISEC = 500;

Also available in: Unified diff