doc: added TODO comment for scaling vectors
This commit is contained in:
parent
6ab818b155
commit
fbe38c978a
@ -110,6 +110,7 @@ public class IntVector2 implements Serializable {
|
|||||||
return dot(v.x, v.y);
|
return dot(v.x, v.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: This returns a new Vector for now, but should scale the actually modified vector
|
||||||
public IntVector2 scale(float x, float y) {
|
public IntVector2 scale(float x, float y) {
|
||||||
return new IntVector2(Math.round(this.x * x), Math.round(this.y * y));
|
return new IntVector2(Math.round(this.x * x), Math.round(this.y * y));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user