Project

General

Profile

« Previous | Next » 

Revision 65dd40aa

Added by Leszek Koltunski about 3 years ago

Add Cube6.

View differences:

src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java
265 265
      float A = 0.5f;
266 266
      float B = 0.1f;
267 267

  
268
      int extraIndex    = 1;
268
      int extraIndex    = 2;
269 269
      int extraVertices = 2;
270
      int numBands      = 3;
270
      int numBands      = 2;
271 271

  
272 272
      float[] vertices = new float[] { -A,-A, A,-A, A,A, -A,A };
273 273
      float[] bands = new float[2*numBands];

Also available in: Unified diff