Project

General

Profile

« Previous | Next » 

Revision bc29e409

Added by Leszek Koltunski over 7 years ago

Again change of API. Now instead of the 'DistortedEffects.draw() and DistortedTree.draw()' we have 'DistortedFramebuffer.renderTo()'

View differences:

src/main/java/org/distorted/examples/matrix3d/Matrix3DRenderer.java
62 62
    public void onDrawFrame(GL10 glUnused)
63 63
      {
64 64
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
65
      mEffects.draw(System.currentTimeMillis(),mTexture,mGrid,mScreen);
65
      mScreen.renderTo(mTexture, mGrid, mEffects, System.currentTimeMillis() );
66 66
      }
67 67

  
68 68
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff