Project

General

Profile

« Previous | Next » 

Revision 3d590d8d

Added by Leszek Koltunski over 7 years ago

Minor stuff

View differences:

src/main/java/org/distorted/library/DistortedCubes.java
96 96
       }
97 97
     }
98 98
     
99
   mSizeX= cubeSize*Cs;
100
   mSizeY= cubeSize*Rs;
101
   mSizeZ= frontOnly ? 1 : cubeSize;
102 99
   mGrid = DistortedGridFactory.getGrid(cols,desc, frontOnly);
103
   initializeData();
100
   initializeData(cubeSize*Cs,cubeSize*Rs,frontOnly ? 1 : cubeSize);
104 101
   }
105 102

  
106 103
///////////////////////////////////////////////////////////////////////////////////////////////////
......
114 111
 */
115 112
 public DistortedCubes(int cols, int rows, int cubeSize, boolean frontOnly)
116 113
   {
117
   mSizeX= cubeSize*cols;
118
   mSizeY= cubeSize*rows;
119
   mSizeZ= frontOnly ? 1 : cubeSize;
120 114
   mGrid = DistortedGridFactory.getGrid(cols,rows, frontOnly);
121
   initializeData();
115
   initializeData(cubeSize*cols,cubeSize*rows,frontOnly ? 1 : cubeSize);
122 116
   }
123 117

  
124 118
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff