Project

General

Profile

« Previous | Next » 

Revision 6af1e973

Added by Leszek Koltunski about 4 years ago

Minor.

View differences:

src/main/java/org/distorted/examples/meshfile/CubitFactory.java
266 266
    meshes[2] = meshes[0].copy(true);
267 267
    meshes[2].setEffectAssociation(0,4,0);
268 268

  
269
    float[] vertices1 = { 0,0, F,0, F/2,(SQ3/2)*F };
269
    float[] vertices1 = { 0,0, F,0, 7*F/8,(SQ3/8)*F, 5*F/8,(3*SQ3/8)*F, F/2,(SQ3/2)*F };
270 270
    float[] bands1 = computeBands(0,0,1,0,3);
271 271

  
272 272
    meshes[3] = new MeshPolygon(vertices1,bands1,1,5);
......
292 292
    meshes[0] = new MeshPolygon(vertices0, bands0, 3, 3);
293 293
    meshes[0].setEffectAssociation(0,1,0);
294 294

  
295
    float[] vertices1 = { -E,-SQ3*E, +E,-SQ3*E, 0,0 };
295
    float[] vertices1 = { -E,-SQ3*E, -E*0.7f,-SQ3*E, +E*0.7f,-SQ3*E, +E,-SQ3*E, 0,0 };
296 296
    float[] bands1 = computeBands(0,0,1,0,3);
297 297

  
298 298
    meshes[1] = new MeshPolygon(vertices1,bands1,0,0);

Also available in: Unified diff