Why do people use this:
public void set(Vector2 v) {
this.vector2 = v.cpy();
}
insted of just using:
public void set(Vector2 v) {
this.vector2 = v;
}
What I don’t know that I should know?
Why do people use this:
public void set(Vector2 v) {
this.vector2 = v.cpy();
}
insted of just using:
public void set(Vector2 v) {
this.vector2 = v;
}
What I don’t know that I should know?