vec2f operator*(const float k, const vec2f& v1){ return vec2f(v1.peekx()*k, v1.peeky()*k); }
float dot(const vec2f& v1, const vec2f& v2){ return ((v1.peekx()*v2.peekx())+ (v1.peeky()*v2.peeky())); }
vec2f operator-(const vec2f& v1, const vec2f &v2){ return vec2f(v1.peekx()-v2.peekx(), v1.peeky()-v2.peeky()); }