texturing works

This commit is contained in:
2020-05-25 14:59:42 -04:00
parent 5fc63b6c73
commit 2294aba9e3
8 changed files with 17 additions and 12 deletions
+2 -1
View File
@@ -10,9 +10,10 @@ public class Vertex {
private Vector3f color;
private Vector2f textureCoords;
public Vertex (Vector3f position, Vector3f color, Vector2f texture) {
public Vertex (Vector3f position, Vector3f color, Vector2f textureCoords) {
this.position = position;
this.color = color;
this.textureCoords = textureCoords;
}
public Vector3f getPosition() {