Project

General

Profile

« Previous | Next » 

Revision 58e9e190

Added by Leszek Koltunski almost 7 years ago

Change of API in anticipation for MeshCubes of any depth (currently only 0 and 1 work)

View differences:

src/main/java/org/distorted/examples/effects3d/Effects3DActivity.java
425 425
      for(int i=0; i<mNumRows*mNumCols; i++)
426 426
        str += mShape[i] ? "1" : "0";
427 427

  
428
      mMesh = new MeshCubes(mNumCols, str, false);
428
      mMesh = new MeshCubes(mNumCols, str, 1);
429 429
      }
430 430

  
431 431
    mMesh.setShowNormals(mShowNormal);

Also available in: Unified diff