new branch for texture
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user