X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Foffset.hh;h=198c601cff36dc562ea7702abee325df62437684;hb=55cdf3441eca8d6489c486767cf8013b08e8b32e;hp=e5ee4d0730620e5bcb366a127416f03f1d9b581a;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/flower/include/offset.hh b/flower/include/offset.hh index e5ee4d0730..198c601cff 100644 --- a/flower/include/offset.hh +++ b/flower/include/offset.hh @@ -24,7 +24,6 @@ #include "std-string.hh" #include "real.hh" - /* This is a mixture a 2D vector. Sometimes it can also be convenient to think of 2D vectors as complex numbers @@ -79,7 +78,7 @@ public: Offset &operator /= (Real a) { - (*this) *= 1/a; + (*this) *= 1 / a; return *this; } @@ -111,7 +110,7 @@ public: } Offset direction () const; Offset swapped () const; - + Real arg () const; Real angle_degrees () const; Real length () const; @@ -124,8 +123,6 @@ IMPLEMENT_ARITHMETIC_OPERATOR (Offset, +); IMPLEMENT_ARITHMETIC_OPERATOR (Offset, -); IMPLEMENT_ARITHMETIC_OPERATOR (Offset, *); - - Offset complex_multiply (Offset, Offset); Offset complex_divide (Offset, Offset); Offset complex_exp (Offset);