First Commit
This commit is contained in:
commit
5ccf998834
34 changed files with 1608 additions and 0 deletions
31
VBO/src/math/Vector2f.java
Normal file
31
VBO/src/math/Vector2f.java
Normal file
|
@ -0,0 +1,31 @@
|
|||
package math;
|
||||
|
||||
|
||||
public class Vector2f {
|
||||
|
||||
public float x,y;
|
||||
|
||||
public Vector2f(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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Reference in a new issue