Revision 2e779512
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/examples/objecttree/ObjectTreeRenderer.java | ||
---|---|---|
45 | 45 |
import org.distorted.library.type.Static3D; |
46 | 46 |
import org.distorted.library.type.Static4D; |
47 | 47 |
|
48 |
import android.content.res.Resources; |
|
48 | 49 |
import android.graphics.Bitmap; |
49 | 50 |
import android.graphics.BitmapFactory; |
50 | 51 |
import android.opengl.GLES31; |
... | ... | |
134 | 135 |
GLES31.glCullFace(GLES31.GL_BACK); |
135 | 136 |
GLES31.glFrontFace(GLES31.GL_CW); |
136 | 137 |
|
137 |
InputStream is1 = mView.getContext().getResources().openRawResource(R.raw.monalisa); |
|
138 |
InputStream is2 = mView.getContext().getResources().openRawResource(R.raw.grid); |
|
138 |
Resources res = mView.getContext().getResources(); |
|
139 |
|
|
140 |
InputStream is1 = res.openRawResource(R.raw.monalisa); |
|
141 |
InputStream is2 = res.openRawResource(R.raw.grid); |
|
139 | 142 |
|
140 | 143 |
Bitmap bitmap1, bitmap2; |
141 | 144 |
|
Also available in: Unified diff
Hide the InternalSurface class inside its package.