Project

General

Profile

« Previous | Next » 

Revision 30fdccf8

Added by Leszek Koltunski about 4 years ago

New meshes for the Diamond and the Pyraminxes.

View differences:

src/main/AndroidManifest.xml
6 6

  
7 7
    <uses-permission android:name="android.permission.INTERNET" />
8 8
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
9

  
9
<!--
10
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
11
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
12
-->
10 13
    <application
11 14
        android:allowBackup="true"
12 15
        android:icon="@mipmap/icon"
src/main/java/org/distorted/objects/CubitFactory.java
440 440
    int association = 1;
441 441

  
442 442
    float C = 0.06f;
443
    float D = 0.02f;
443
    float D = 0.031f;
444 444
    float E = SQ3/2;
445 445
    float F = 0.5f;
446 446

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

  
60 60
  DIAM (
61 61
         new int[][] {
62
                       {2 , 10, R.raw.dino, R.drawable.ui_small_diam, R.drawable.ui_medium_diam, R.drawable.ui_big_diam, R.drawable.ui_huge_diam} ,
62
                       {2 , 10, R.raw.diamond, R.drawable.ui_small_diam, R.drawable.ui_medium_diam, R.drawable.ui_big_diam, R.drawable.ui_huge_diam} ,
63 63
                     },
64 64
         TwistyDiamond.class,
65 65
         new MovementDiamond(),
src/main/java/org/distorted/objects/TwistyObject.java
68 68
  private static final float MAX_SIZE_CHANGE = 1.3f;
69 69
  private static final float MIN_SIZE_CHANGE = 0.8f;
70 70

  
71
  private static boolean mCreateFromDMesh = false;
71
  private static boolean mCreateFromDMesh = true;
72 72

  
73 73
  private static final Static3D CENTER = new Static3D(0,0,0);
74 74
  static final int INTERIOR_COLOR = 0xff000000;

Also available in: Unified diff