Revision 1a620f79
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/examples/inflate/InflateActivity2.java | ||
---|---|---|
98 | 98 |
int numRows = b.getInt("rows"); |
99 | 99 |
int numSlic = b.getInt("slices"); |
100 | 100 |
|
101 |
int maxsize = numCols > numRows ? (numCols>numSlic ? numCols:numSlic) : (numRows>numSlic ? numRows:numSlic);
|
|
101 |
int maxsize = numCols > numRows ? (Math.max(numCols, numSlic)) : (Math.max(numRows, numSlic));
|
|
102 | 102 |
createBitmap(maxsize,bitmapID); |
103 | 103 |
mMesh = InflateMeshList.createMesh(objectType, numCols, numRows, numSlic, bitmapID, str); |
104 | 104 |
mTexture = new DistortedTexture(); |
Also available in: Unified diff
Progress with Pretty Patterns.