Revision 58e9e190
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/fbo/FBORenderer.java | ||
---|---|---|
170 | 170 |
final int GRID = 10; |
171 | 171 |
|
172 | 172 |
if( mMeshFlat==null ) mMeshFlat = new MeshFlat(1,1); |
173 |
if( mMeshCubes==null) mMeshCubes= new MeshCubes(GRID,GRID,false);
|
|
173 |
if( mMeshCubes==null) mMeshCubes= new MeshCubes(GRID,GRID,1);
|
|
174 | 174 |
|
175 | 175 |
mRoot = new DistortedNode(mLisaTexture, mEffects, mMeshFlat); |
176 | 176 |
mRoot.attach(mGridTexture,gridEffects,mMeshCubes); |
Also available in: Unified diff
Change of API in anticipation for MeshCubes of any depth (currently only 0 and 1 work)