Project

General

Profile

« Previous | Next » 

Revision cbd502ec

Added by Leszek Koltunski almost 4 years ago

Progress with the Predeform app; deepCopy for the Meshes; various fixes.

View differences:

src/main/java/org/distorted/library/mesh/MeshCubes.java
49 49
   private static final float[] mNormalY = new float[4];
50 50
   private static final float[] mNormalZ = new float[4];
51 51

  
52
   private class Edge
52
   private static class Edge
53 53
     {
54 54
     final int side; 
55 55
     final int row;
......
924 924
   prepareDataStructures(cols,rows,slices);
925 925
   build();
926 926
   }
927

  
928
///////////////////////////////////////////////////////////////////////////////////////////////////
929
/**
930
 * deep copy.
931
 */
932
 public MeshCubes(MeshCubes mesh)
933
   {
934
   super(mesh);
935
   }
936

  
937
///////////////////////////////////////////////////////////////////////////////////////////////////
938
/**
939
 * deep copy.
940
 */
941
 public MeshCubes deepCopy()
942
   {
943
   return new MeshCubes(this);
944
   }
927 945
 }

Also available in: Unified diff