moving and vm options
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package org.hl.engine.graphics;
|
||||
|
||||
import org.hl.engine.math.Vector3f;
|
||||
|
||||
public class Vertex {
|
||||
|
||||
// Just a vertex
|
||||
|
||||
private Vector3f position;
|
||||
private Vector3f color;
|
||||
|
||||
public Vertex (Vector3f position, Vector3f color) {
|
||||
this.position = position;
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
public Vector3f getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
public Vector3f getColor() {
|
||||
return color;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user