X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_angle.h;h=bd3231a4e0a1dbd18add8365ca11683f7e9e869b;hb=716873ad2fd2cb3c07e311ee7b0e2f023500c868;hp=67989cae60c6ae9e0f57e5009ab0c405e6cbe559;hpb=8ceee9e55e8fb6a4d32d81f7ff9f46f4d86a1209;p=synfig.git diff --git a/ETL/trunk/ETL/_angle.h b/ETL/trunk/ETL/_angle.h index 67989ca..bd3231a 100644 --- a/ETL/trunk/ETL/_angle.h +++ b/ETL/trunk/ETL/_angle.h @@ -225,7 +225,7 @@ public: return ret; } - bool operator!()const { return v==0; } + bool operator!()const { return std::abs(mod().v) < epsilon; } private: