Commits

Anonymous committed eb9729c

gave VBO example different colors so they'll stand out

  • Participants
  • Parent commits 916b0b1

Comments (0)

Files changed (1)

src/main/java/sandbox/misc/HelloVBO.java

         vbo.addVertex(
                 new Vector3f(-50, -50, 0),
                 new Vector3f(0, 1, 0),
-                new Vector4f(0, 0, 1, 1),
+                new Vector4f(1, 0, 0, 1),
                 new Vector2f(0, 0)
         );
 
         vbo.addVertex(
                 new Vector3f(50, -50, 0),
                 new Vector3f(0, 1, 0),
-                new Vector4f(0, 0, 1, 1),
+                new Vector4f(0, 1, 0, 1),
                 new Vector2f(0, 0)
         );
 
         vbo.addVertex(
                 new Vector3f(-50, 50, 0),
                 new Vector3f(0, 1, 0),
-                new Vector4f(0, 0, 1, 1),
+                new Vector4f(1, 1, 0, 1),
                 new Vector2f(0, 0)
         );
         vbo.compile();