camera movement with cube - some weird bug thing
This commit is contained in:
@@ -19,6 +19,12 @@ public class Vertex {
|
||||
this.textureCoords = textureCoords;
|
||||
}
|
||||
|
||||
public Vertex(Vector3f position, Vector2f textureCoords) {
|
||||
this.position = position;
|
||||
this.color = new Vector3f(1.0F, 1.0F, 1.0F);
|
||||
this.textureCoords = textureCoords;
|
||||
}
|
||||
|
||||
public Vector3f getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user