TransformationMatrix& TransformationMatrix::flipY() { return scaleNonUniform(1.0f, -1.0f); }
TransformationMatrix& TransformationMatrix::scale(double s) { return scaleNonUniform(s, s); }
TransformationMatrix& TransformationMatrix::flipX() { return scaleNonUniform(-1.0f, 1.0f); }
/** Scale components of the vector. */ inline void scaleNonUniform( const Vector2I& scale ) { scaleNonUniform( scale.x, scale.y ); }