Project

General

Profile

« Previous | Next » 

Revision 342a6773

Added by Leszek Koltunski almost 4 years ago

1 more fix for MeshBase.apply(VertexEffect). This still does not (fully) work though.

View differences:

src/main/java/org/distorted/library/mesh/MeshBase.java
305 305
         mVertAttribs[vertex*VERT_ATTRIBS + NOR_ATTRIB + 1 ] = norY;
306 306
         mVertAttribs[vertex*VERT_ATTRIBS + NOR_ATTRIB + 2 ] = norZ;
307 307
         }
308

  
309
       mVBO.update(mVertAttribs);
308 310
       }
309 311

  
310 312
     GLES30.glUnmapBuffer(GLES30.GL_TRANSFORM_FEEDBACK);

Also available in: Unified diff