Revision 58e9e190
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/cubes/CubesActivity.java | ||
---|---|---|
200 | 200 |
for(int i=0; i<mNumRows*mNumCols; i++) |
201 | 201 |
str += mShape[i] ? "1" : "0"; |
202 | 202 |
|
203 |
mMesh = new MeshCubes(mNumCols, str, false);
|
|
203 |
mMesh = new MeshCubes(mNumCols, str, 1);
|
|
204 | 204 |
mTexture = new DistortedTexture(mNumCols,mNumRows); |
205 | 205 |
|
206 | 206 |
setContentView(R.layout.cubeslayout); |
Also available in: Unified diff
Change of API in anticipation for MeshCubes of any depth (currently only 0 and 1 work)