X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_angle.h;h=34bc9f515c496c92cb7bffd399f81d065831c356;hb=a6a8bd0374c02c8b6f4912ab1c71b22c47ecd677;hp=ae3b1575b0a4fa515f9ae9b401f8a853a02b024c;hpb=fcd8a62d8c7920f2f11b4338b73a0ee94b85854d;p=synfig.git diff --git a/ETL/trunk/ETL/_angle.h b/ETL/trunk/ETL/_angle.h index ae3b157..34bc9f5 100644 --- a/ETL/trunk/ETL/_angle.h +++ b/ETL/trunk/ETL/_angle.h @@ -1,3 +1,4 @@ +#include /* ======================================================================== ** Extended Template and Library ** Angle Abstraction Class Implementation @@ -131,16 +132,14 @@ public: right-hand side is clockwise */ bool operator<(const angle &rhs)const - { return v(const angle &rhs)const - { return v>rhs.v; } -// { return dist(rhs).v>(value_type)0.0; } + { return dist(rhs).v>(value_type)0.0; } /*! Returns true if the shortest angle between the left-hand and @@ -149,8 +148,7 @@ public: point on the unit circle. */ bool operator<=(const angle &rhs)const - { return v<=rhs.v; } -// { return dist(rhs).v<=(value_type)0.0; } + { return dist(rhs).v<=(value_type)0.0; } /*! Returns true if the shortest angle between the left-hand and @@ -159,24 +157,21 @@ public: point on the unit circle. */ bool operator>=(const angle &rhs)const - { return v>=rhs.v; } -// { return dist(rhs).v>=(value_type)0.0; } + { return dist(rhs).v>=(value_type)0.0; } /*! Returns true if the angles are refer to the same point on the unit circle. */ bool operator==(const angle &rhs)const - { return v==rhs.v; } -// { return dist(rhs).v==(value_type)0.0; } + { return dist(rhs).v==(value_type)0.0; } /*! Returns false if the angles are refer to the same point on the unit circle. */ bool operator!=(const angle &rhs)const - { return v!=rhs.v; } -// { return dist(rhs).v!=(value_type)0.0; } + { return dist(rhs).v!=(value_type)0.0; } //! Angle Difference Function /*! This function will return the