Permalink
Browse files

reordered vertices to be clockwise

  • Loading branch information...
alihelmy committed Sep 26, 2011
1 parent 3e73deb commit 9540b93881942fe40dab2b292f97dd0bbb0fba29
Showing with 2 additions and 2 deletions.
  1. +2 −2 LessonTwo/com/onehandstand/lwjgltutorial/lessontwo/ShaderTriangle.java
@@ -61,10 +61,10 @@ private void initBuffers() {
vertexPositionAttributes.putFloat(0.0f);
vertexPositionAttributes.putFloat(0.8f);
- vertexPositionAttributes.putFloat(-0.8f);
+ vertexPositionAttributes.putFloat(0.8f);
vertexPositionAttributes.putFloat(-0.8f);
- vertexPositionAttributes.putFloat(0.8f);
+ vertexPositionAttributes.putFloat(-0.8f);
vertexPositionAttributes.putFloat(-0.8f);
//flip buffer, unmap and unbind
vertexPositionAttributes.flip();

0 comments on commit 9540b93

Please sign in to comment.