Vec2d Vec2d::operator-(Vec2d B){
Vec2d C;
C.x = x - B.x;
C.y = y - B.y;
return C;
}
Vec2d Vec2d::operator/(float num ){
Vec2d C;
C.x = x / num;
C.y = y / num;
return C;
}
float Vec2d::vectorLength(){// implicet pass of THIS for x y/// Vec2d B is start point
float num = sqrt ((pow (x,2))+(pow (y,2)));
return num;
}