Setting default position of vector to 0.
This commit is contained in:
parent
bc2feee03c
commit
e7d82b3076
@ -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 ){
|
||||
|
Loading…
Reference in New Issue
Block a user