adding textures (to texture branch, split due to errors)

This commit is contained in:
2020-05-10 12:56:21 -04:00
parent d2b8e7015a
commit 4ea7ec4b21
11 changed files with 104 additions and 24 deletions
+33
View File
@@ -0,0 +1,33 @@
package org.hl.engine.math.lalg;
public class Vector2f {
private float x;
private float y;
// Just a vector if you know what I mean
public Vector2f (float x, float y) {
this.x = x;
this.y = y;
}
public void setVector(float x, float y) {
this.x = x;
this.y = y;
}
public float getX() {
return x;
}
public void setX(float x) {
this.x = x;
}
public float getY() {
return y;
}
public void setY(float y) {
this.y = y;
}
}