Project

General

Profile

« Previous | Next » 

Revision d019f69d

Added by Leszek Koltunski almost 3 years ago

New 'JingPyraminx' object - improvement.

View differences:

src/main/java/org/distorted/objects/TwistyJing.java
75 75
           new Static4D(-SQ2/2,   0.0f,  SQ2/2,  0.0f)
76 76
         };
77 77

  
78

  
79
static float H = 0.120f;
80

  
81 78
  static final float[][] CENTERS = new float[][]
82 79
         {
83 80
           { 0.000f, -SQ2/4,  0.500f },
......
92 89
           { 0.250f, 0.000f,-0.250f },
93 90
           { 0.000f,  SQ2/4, 0.000f },
94 91

  
95
           { 0.000f, H, 1.0f/6 },
96
           { 0.000f, H,-1.0f/6 },
97
           {-1.0f/6,-H, 0.000f },
98
           { 1.0f/6,-H, 0.000f },
92
           { 0.000f, SQ2/12, 1.0f/6 },
93
           { 0.000f, SQ2/12,-1.0f/6 },
94
           {-1.0f/6,-SQ2/12, 0.000f },
95
           { 1.0f/6,-SQ2/12, 0.000f },
99 96
         };
100 97

  
101 98
  // Colors of the faces of cubits.

Also available in: Unified diff