diff --git a/libs/limelight-common.jar b/libs/limelight-common.jar index 42f1fb5b..2e1ef639 100644 Binary files a/libs/limelight-common.jar and b/libs/limelight-common.jar differ diff --git a/src/com/limelight/utils/Vector2d.java b/src/com/limelight/utils/Vector2d.java deleted file mode 100644 index d01b78ba..00000000 --- a/src/com/limelight/utils/Vector2d.java +++ /dev/null @@ -1,47 +0,0 @@ -package com.limelight.utils; - -public class Vector2d { - private float x; - private float y; - private double magnitude; - - public static final Vector2d ZERO = new Vector2d(); - - public Vector2d() { - initialize(0, 0); - } - - public void initialize(float x, float y) { - this.x = x; - this.y = y; - this.magnitude = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); - } - - public double getMagnitude() { - return magnitude; - } - - public void getNormalized(Vector2d vector) { - vector.initialize((float)(x / magnitude), (float)(y / magnitude)); - } - - public void scalarMultiply(double factor) { - initialize((float)(x * factor), (float)(y * factor)); - } - - public void setX(float x) { - initialize(x, this.y); - } - - public void setY(float y) { - initialize(this.x, y); - } - - public float getX() { - return x; - } - - public float getY() { - return y; - } -}