Implement Vector interfaces

Check the flow-math solution, I'm not sure what it's using, but it might be better than this.

> On Sep 12, 2014, at 10:21 AM, Dylan Hart <notifications@github.com> wrote:
> 
> In src/main/java/org/spongepowered/mod/math/SpongeVector2d.java:
> 
> > +            Vector2d v = (Vector2d) o;
> > +            return (Math.abs(x - v.getX()) < DBL_EPSILON) && (Math.abs(y - v.getY()) < DBL_EPSILON);
> > +        }
> > +        return false;
> > +    }
> > +
> > +    @Override
> > +    public int hashCode() {
> > +        int result;
> > +        long temp;
> > +        temp = Double.doubleToLongBits(x);
> > +        result = (int) (temp ^ (temp >>> 32));
> > +        temp = Double.doubleToLongBits(y);
> > +        result = 31 * result + (int) (temp ^ (temp >>> 32));
> > +        return result;
> > +    }
> Sorry, I just used IDEA to generate those and forgot about it, but I also do not know how to fix.
> 
> —
> Reply to this email directly or view it on GitHub.