Project

General

Profile

« Previous | Next » 

Revision 231771f3

Added by Leszek Koltunski over 3 years ago

Convert RubikPyraminx to the new MeshPolygon - better quality of the mesh and less vertices!

View differences:

src/main/java/org/distorted/objects/RubikCube.java
205 205
    switch(size)
206 206
      {
207 207
      case 2 : bands = new float[] { 1.0f    ,-D,
208
                                     1.0f-D/2,-D*0.45f,
209
                                     1.0f-D  ,-D*0.80f,
208
                                     1.0f-D/2,-D*0.55f,
209
                                     1.0f-D  ,-D*0.25f,
210 210
                                     1.0f-2*D, 0.0f,
211 211
                                     0.50f, 0.040f,
212 212
                                     0.0f, 0.048f };

Also available in: Unified diff