camera movement with cube - some weird bug thing

This commit is contained in:
2020-05-28 15:01:47 -04:00
parent 9a6b5ec048
commit 4b51802309
7 changed files with 240 additions and 29 deletions
+6
View File
@@ -19,6 +19,12 @@ public class Vertex {
this.textureCoords = textureCoords;
}
public Vertex(Vector3f position, Vector2f textureCoords) {
this.position = position;
this.color = new Vector3f(1.0F, 1.0F, 1.0F);
this.textureCoords = textureCoords;
}
public Vector3f getPosition() {
return position;
}