«
Previous
|
Next
»
Revision 30f337e5
Added by Leszek Koltunski about 2 months ago
- ID 30f337e50a7d5d83c0419732cc2f896aeef67cee
- Parent c31aa527
src/main/java/org/distorted/examples/transparency/TransparencyRenderer.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.examples.transparency; |
21 | 21 |
|
22 |
import android.app.ActivityManager; |
|
23 |
import android.content.Context; |
|
24 |
import android.content.pm.ConfigurationInfo; |
|
25 | 22 |
import android.content.res.Resources; |
26 | 23 |
import android.opengl.GLSurfaceView; |
27 | 24 |
|
... | ... | |
62 | 59 |
private static final int NUM_OBJECTS = OBJECTS.length/NUM; |
63 | 60 |
private static final int OBJ_SIZE = 100; |
64 | 61 |
|
65 |
private final GLSurfaceView mView; |
|
66 | 62 |
private final Resources mResources; |
67 | 63 |
private final DistortedNode[] mNode; |
68 | 64 |
private final DistortedTexture[] mTex; |
... | ... | |
81 | 77 |
|
82 | 78 |
TransparencyRenderer(GLSurfaceView v) |
83 | 79 |
{ |
84 |
mView = v; |
|
85 | 80 |
mResources = v.getResources(); |
86 | 81 |
|
87 | 82 |
MeshSquare mesh = new MeshSquare(1,1); |
Also available in: Unified diff
Lint