Project

General

Profile

« Previous | Next » 

Revision 82b62e04

Added by Leszek Koltunski 11 months ago

one more fix for displaying normals.

View differences:

src/main/java/org/distorted/library/main/DistortedLibrary.java
599 599

  
600 600
      EffectQueue.send(queues, mMainOITProgramH, distance, mipmap, projection, inflate, 1 );
601 601
      GLES30.glDrawArrays(GLES30.GL_TRIANGLE_STRIP, 0, mesh.getNumVertices() );
602
      mMainOITProgram.stopUsingProgram();
603

  
604 602
      if( mesh.getShowNormals() ) displayNormals(projection,mesh);
603
      mMainOITProgram.stopUsingProgram();
605 604
      }
606 605
    }
607 606

  

Also available in: Unified diff