Project

General

Profile

« Previous | Next » 

Revision c2032d8c

Added by Leszek Koltunski almost 3 years ago

Preparation for drawing only the FRONT side of the cubit walls.

View differences:

src/main/java/org/distorted/library/mesh/MeshQuad.java
58 58
    float[] attribs2= new float[VERT2_ATTRIBS*4];
59 59

  
60 60
    addVertex(0.0f,0.0f, attribs1, attribs2, 0);
61
    addVertex(0.0f,1.0f, attribs1, attribs2, 1);
62
    addVertex(1.0f,0.0f, attribs1, attribs2, 2);
61
    addVertex(1.0f,0.0f, attribs1, attribs2, 1);
62
    addVertex(0.0f,1.0f, attribs1, attribs2, 2);
63 63
    addVertex(1.0f,1.0f, attribs1, attribs2, 3);
64 64

  
65 65
    setAttribs(attribs1,attribs2);

Also available in: Unified diff