Revision 0c46991f
Added by Leszek Koltunski about 2 years ago
src/main/java/org/distorted/examples/objecttree/ObjectTreeRenderer.java | ||
---|---|---|
59 | 59 |
private static final int NODE_FBO_SIZE = 300; |
60 | 60 |
private static final int GRID = 10; |
61 | 61 |
|
62 |
private GLSurfaceView mView; |
|
63 |
private DistortedEffects mEffectsNode, mEffectsGrid; |
|
62 |
private final GLSurfaceView mView; |
|
63 |
private final DistortedEffects mEffectsNode,mEffectsGrid; |
|
64 |
private final DistortedScreen mScreen; |
|
65 |
private final Static3D mScale; |
|
66 |
|
|
64 | 67 |
private DistortedTexture mLisaTexture, mGridTexture; |
65 |
private DistortedScreen mScreen; |
|
66 | 68 |
private DistortedNode mRoot; |
67 | 69 |
private MeshQuad mMeshQuad; |
68 | 70 |
private MeshCubes mMeshCubes; |
69 | 71 |
private boolean mDepth; |
70 |
private Static3D mScale; |
|
71 | 72 |
private float mLisaAspectRatio; |
72 | 73 |
|
73 | 74 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
171 | 172 |
isLisa.close(); |
172 | 173 |
isGrid.close(); |
173 | 174 |
} |
174 |
catch(IOException e) { }
|
|
175 |
catch(IOException ignored) { }
|
|
175 | 176 |
} |
176 | 177 |
|
177 | 178 |
mLisaAspectRatio = ((float)bitmapLisa.getWidth())/bitmapLisa.getHeight(); |
Also available in: Unified diff
Minor