Revision 3c535636
Added by Leszek Koltunski over 2 years ago
| src/main/java/org/distorted/library/main/DistortedLibrary.java | ||
|---|---|---|
| 628 | 628 |
|
| 629 | 629 |
EffectQueue.send(queues, mMainProgramH, distance, mipmap, projection, inflate, 0 ); |
| 630 | 630 |
GLES30.glDrawArrays(GLES30.GL_TRIANGLE_STRIP, 0, mesh.getNumVertices() ); |
| 631 |
mMainProgram.stopUsingProgram(); |
|
| 632 |
|
|
| 633 | 631 |
if( mesh.getShowNormals() ) displayNormals(projection,mesh); |
| 632 |
mMainProgram.stopUsingProgram(); |
|
| 634 | 633 |
} |
| 635 | 634 |
} |
| 636 | 635 |
|
Also available in: Unified diff
Fix bug which prevented the normal vectors from being drawn.
Bug introduced in 2021/Dec/16!