Project

General

Profile

« Previous | Next » 

Revision bcc8e016

Added by Leszek Koltunski almost 8 years ago

Improve the Vertex3D app some more.

View differences:

src/main/java/org/distorted/examples/vertex3d/Vertex3DRenderer.java
251 251
    
252 252
    public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
253 253
      {
254
      InputStream is1 = mView.getContext().getResources().openRawResource(R.raw.grid);
255
      InputStream is2 = mView.getContext().getResources().openRawResource(R.raw.center);
254
      Vertex3DActivity act = (Vertex3DActivity)mView.getContext();
255

  
256
      InputStream is1 = act.getResources().openRawResource(act.getBitmap());
257
      InputStream is2 = act.getResources().openRawResource(R.raw.center);
256 258

  
257 259
      Bitmap bitmap1,bitmap2;
258 260
        

Also available in: Unified diff