public R2Vector add(R2Vector v2) { return(new R2Vector(x + v2.x, y + v2.y)); }
public float dot(R2Vector v) { return(x * v.x + y * v.y); }