trying to add textures and still failing

This commit is contained in:
2020-05-25 12:55:20 -04:00
parent ebf26f18d8
commit 5fc63b6c73
17 changed files with 882 additions and 627 deletions
+17 -17
View File
@@ -4,26 +4,26 @@ import org.hl.engine.math.lalg.*;
public class Vertex {
// Just a vertex
// Just a vertex
private Vector3f position;
private Vector3f color;
private Vector2f textureCoords;
private Vector3f position;
private Vector3f color;
private Vector2f textureCoords;
public Vertex (Vector3f position, Vector3f color, Vector2f texture) {
this.position = position;
this.color = color;
}
public Vertex (Vector3f position, Vector3f color, Vector2f texture) {
this.position = position;
this.color = color;
}
public Vector3f getPosition() {
return position;
}
public Vector3f getPosition() {
return position;
}
public Vector3f getColor() {
return color;
}
public Vector3f getColor() {
return color;
}
public Vector2f getTextureCoords() {
return textureCoords;
}
public Vector2f getTextureCoords() {
return textureCoords;
}
}