trying to add textures and still failing
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user