Project

General

Profile

« Previous | Next » 

Revision 7451c98a

Added by Leszek Koltunski over 7 years ago

Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.

View differences:

src/main/java/org/distorted/examples/cubes/CubesActivity.java
200 200
        str += mShape[i] ? "1" : "0";
201 201

  
202 202
      mGrid = new GridCubes(mNumCols, str, false);
203
      mTexture = new DistortedTexture(mNumCols,mNumRows,1);
203
      mTexture = new DistortedTexture(mNumCols,mNumRows);
204 204

  
205 205
      setContentView(R.layout.cubeslayout);
206 206
      }

Also available in: Unified diff