Implement Vector interfaces

If Trove uses these for their hashmaps, I guess they're good enough.

> On Sep 12, 2014, at 10:55 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;
> > +    }
> https://github.com/flow/flow-math/blob/master/target/generated-sources/template/com/flowpowered/math/vector/Vector3f.java#L372
> 
> looks to be the same.
> 
> —
> Reply to this email directly or view it on GitHub.