Project

General

Profile

« Previous | Next » 

Revision 659f1180

Added by Leszek Koltunski about 4 years ago

Minor.

View differences:

src/main/java/org/distorted/objects/CubitFactory.java
1113 1113
    {
1114 1114
    final int MESHES=6;
1115 1115

  
1116
    float C = 0.02f;
1116 1117
    float D = 0.02f;
1117 1118
    float F = 0.25f;
1118 1119

  
1119 1120
    float[] bands0 = { 1.0f    , 0,
1120
                       1.0f-2*D, D*0.25f,
1121
                       1.0f-4*D, D*0.35f,
1122
                       1.0f-8*D, D*0.6f,
1121
                       1.0f-2*C, D*0.25f,
1122
                       1.0f-4*C, D*0.35f,
1123
                       1.0f-8*C, D*0.6f,
1123 1124
                       0.60f   , D*1.0f,
1124 1125
                       0.30f   , D*1.375f,
1125 1126
                       0.0f    , D*1.4f };
......
1227 1228
    {
1228 1229
    final int MESHES=6;
1229 1230

  
1231
    float C = 0.027f;
1230 1232
    float D = 0.027f;
1231 1233
    float E = 0.5f;
1232 1234
    float[] vertices1 = { -E,-E, +E,-E, +E,+E, -E,+E };
1233 1235

  
1234
    float[] bands1 = new float[] { 1.0f    ,-D,
1235
                                  1.0f-D/2,-D*0.55f,
1236
                                  1.0f-D  ,-D*0.25f,
1237
                                  1.0f-2*D, 0.0f,
1238
                                  0.50f   , 0.040f,
1239
                                  0.0f    , 0.048f };
1236
    float[] bands1 = new float[] { 1.0f   ,-D,
1237
                                  1.0f-C/2,-D*0.55f,
1238
                                  1.0f-C  ,-D*0.25f,
1239
                                  1.0f-2*C, 0.0f,
1240
                                  0.50f   , D*1.5f,
1241
                                  0.0f    , D*1.75f };
1240 1242

  
1241 1243
    MeshBase[] meshes = new MeshBase[MESHES];
1242 1244
    meshes[0] = new MeshPolygon(vertices1,bands1,2,2);

Also available in: Unified diff