diff options
Diffstat (limited to 'src/gleem/linalg/Vec2f.java')
-rw-r--r-- | src/gleem/linalg/Vec2f.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gleem/linalg/Vec2f.java b/src/gleem/linalg/Vec2f.java index 2e02701..4c02b61 100644 --- a/src/gleem/linalg/Vec2f.java +++ b/src/gleem/linalg/Vec2f.java @@ -59,6 +59,10 @@ public class Vec2f { return new Vec2f(this); } + public void set(Vec2f arg) { + set(arg.x, arg.y); + } + public void set(float x, float y) { this.x = x; this.y = y; |