Project

General

Profile

« Previous | Next » 

Revision b01acdaf

Added by Leszek Koltunski over 7 years ago

Rename Grid to Mesh

View differences:

src/main/java/org/distorted/examples/cubes/CubesRenderer.java
30 30
import org.distorted.library.DistortedEffects;
31 31
import org.distorted.library.DistortedFramebuffer;
32 32
import org.distorted.library.DistortedTexture;
33
import org.distorted.library.GridObject;
33
import org.distorted.library.MeshObject;
34 34
import org.distorted.library.EffectTypes;
35 35
import org.distorted.library.type.DynamicQuat;
36 36
import org.distorted.library.type.Static4D;
......
49 49
    private GLSurfaceView mView;
50 50
    private DistortedTexture mTexture;
51 51
    private DistortedEffects mEffects;
52
    private GridObject mGrid;
52
    private MeshObject mMesh;
53 53
    private DistortedFramebuffer mScreen;
54 54
    private DynamicQuat mQuatInt1, mQuatInt2;
55 55
    private int mObjWidth, mObjHeight;
......
67 67

  
68 68
      mEffects = new DistortedEffects();
69 69
      mTexture = act.getTexture();
70
      mGrid    = act.getGrid();
70
      mMesh = act.getGrid();
71 71

  
72 72
      mObjWidth = mTexture.getWidth();
73 73
      mObjHeight= mTexture.getHeight();
......
89 89
    public void onDrawFrame(GL10 glUnused) 
90 90
      {
91 91
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
92
      mScreen.renderTo(mTexture, mGrid, mEffects, System.currentTimeMillis() );
92
      mScreen.renderTo(mTexture, mMesh, mEffects, System.currentTimeMillis() );
93 93
      }
94 94

  
95 95
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff