new branch for texture

This commit is contained in:
2020-05-10 10:24:00 -04:00
parent b2dbf16329
commit 0c6ccbbb42
12 changed files with 23 additions and 257 deletions
+2 -9
View File
@@ -1,7 +1,6 @@
package org.hl.engine.graphics;
import org.hl.engine.math.lalg.Vector2f;
import org.hl.engine.math.lalg.Vector3f;
import org.hl.engine.math.Vector3f;
public class Vertex {
@@ -9,22 +8,16 @@ public class Vertex {
private Vector3f position;
private Vector3f color;
private Vector2f textureCoordinates;
public Vertex (Vector3f position, Vector3f color, Vector2f textureCoordinates) {
public Vertex (Vector3f position, Vector3f color) {
this.position = position;
this.color = color;
this.textureCoordinates = textureCoordinates;
}
public Vector3f getPosition() {
return position;
}
public Vector2f getTextureCoordinates() {
return textureCoordinates;
}
public Vector3f getColor() {
return color;
}