Project

General

Profile

« Previous | Next » 

Revision d08bd5a3

Added by Leszek Koltunski over 4 years ago

DeferredJobs app/lib works now

View differences:

src/main/java/org/distorted/examples/deferredjob/DeferredJobRenderer.java
112 112
    
113 113
    public void onSurfaceChanged(GL10 glUnused, int width, int height) 
114 114
      {
115
      final float SCALE = 0.5f;
115
      final float SCALE = 0.4f;
116 116
      mScreenMin = Math.min(width, height);
117 117
      float factor = SCALE*mScreenMin;
118 118
      mScale.set(factor,factor,factor);
......
183 183

  
184 184
      MeshBase[] meshes = new MeshRectangles[MESHES];
185 185

  
186
      meshes[0] = new MeshRectangles(2,2);
186
      meshes[0] = new MeshRectangles(1,1);
187 187

  
188 188
      for(int i=1; i<MESHES; i++)
189 189
        {
......
220 220

  
221 221
      MeshBase combined = new MeshJoined(tmp);
222 222

  
223
      VertexEffectMove moveL = new VertexEffectMove  ( new Static3D(-1,0,0) );
224
      VertexEffectMove moveR = new VertexEffectMove  ( new Static3D(+1,0,0) );
223
      VertexEffectMove moveL = new VertexEffectMove  ( new Static3D(-0.6f,0,0) );
224
      VertexEffectMove moveR = new VertexEffectMove  ( new Static3D(+0.6f,0,0) );
225 225

  
226 226
      moveL.setMeshAssociation(0,0);
227 227
      moveR.setMeshAssociation(1,0);

Also available in: Unified diff