Setting default position of vector to 0.
This commit is contained in:
@ -8,8 +8,8 @@ public class Vec2 {
|
||||
public int x, y;
|
||||
|
||||
public Vec2() {
|
||||
x = -1;
|
||||
y = -1;
|
||||
x = 0;
|
||||
y = 0;
|
||||
}
|
||||
|
||||
public Vec2(int x, int y ){
|
||||
|
Reference in New Issue
Block a user