Project

General

Profile

« Previous | Next » 

Revision 36d65d88

Added by Leszek Koltunski almost 4 years ago

Progress making it possible to apply Vertex Effects only to some Components of a Mesh.

View differences:

src/main/java/org/distorted/library/mesh/MeshQuad.java
46 46

  
47 47
    attribs2[VERT2_ATTRIBS*index + TEX_ATTRIB  ] = x;
48 48
    attribs2[VERT2_ATTRIBS*index + TEX_ATTRIB+1] = 1.0f-y;
49
    attribs2[VERT2_ATTRIBS*index + ASS_ATTRIB  ] = DEFAULT_ASSOCIATION;
50 49
    }
51 50

  
52 51
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff