Original Post
I was perplexed by some code when I am reading the Ogre source. inline friend Vector2 operator * ( const Real fScalar, const Vector2& rkVector ) { return Vector2( fScalar * rkVector.x, fScalar * rkVector.y); } inline friend Vector2 operator / ( const Real fScalar, const Vector2& rkVector ) { return Vector2( fScalar / rkVector.x, fScalar / rkVector.y); } What's the meaning of a scalar divided by a vector in the second operator '/'? I suess it's a Ctrl+c and Ctrl+v mistake.