Project

General

Profile

« Previous | Next » 

Revision 662b5afa

Added by Leszek Koltunski over 1 year ago

We no longer need to support 'edgesUp' in MeshPolygons.

View differences:

src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java
325 325
        bands[2*i+1] = B/(numBands-1)*i;
326 326
        }
327 327
*/
328
      boolean[] edgesUp = new boolean[] {true,true,false,false};
329
      boolean[] vertsUp = new boolean[] {false,false,false,false};
330

  
331
      mMesh = new MeshPolygon(vertices,bands,edgesUp,vertsUp,extraIndex,extraVertices,0.0f,0.0f);
328
      mMesh = new MeshPolygon(vertices,bands,extraIndex,extraVertices,0.0f,0.0f);
332 329
      mMesh.setEffectAssociation(0,0,0);
333 330
      }
334 331

  

Also available in: Unified diff