From 5435a07a723881d426e530864baab1681133bb58 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 28 Sep 2007 02:07:46 +0000 Subject: [PATCH] The comments for the inequality comparison operators seemed to suggest that positive rotation is clockwise. In Synfig, 0 degrees is due east, and positive rotation is counter-clockwise. Amended the comments accordingly, and made a comment at the top stating that positive rotation is counter-clockwise. git-svn-id: http://svn.voria.com/code@787 1f10aa63-cdf2-0310-b900-c93c546f37ac --- ETL/trunk/ETL/_angle.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ETL/trunk/ETL/_angle.h b/ETL/trunk/ETL/_angle.h index 3080366..b873255 100644 --- a/ETL/trunk/ETL/_angle.h +++ b/ETL/trunk/ETL/_angle.h @@ -60,7 +60,7 @@ public: protected: typedef value_type unit; - unit v; //! Stored in radians + unit v; //! Stored in radians; positive values indicate counter-clockwise. public: @@ -128,22 +128,22 @@ public: } /*! Returns true if the shortest - angle between the left-hand and - right-hand side is clockwise */ + angle from the left-hand to the + right-hand side is counter-clockwise */ bool operator<(const angle &rhs)const { return dist(rhs).v<(value_type)0.0; } /*! Returns true if the shortest - angle between the left-hand and - right-hand side is counter-clockwise */ + angle from the left-hand to the + right-hand side is clockwise */ bool operator>(const angle &rhs)const { return dist(rhs).v>(value_type)0.0; } /*! Returns true if the shortest - angle between the left-hand and - right-hand side is clockwise, + angle from the left-hand to the + right-hand side is counter-clockwise, or if the angles are refer to the same point on the unit circle. */ bool @@ -151,8 +151,8 @@ public: { return dist(rhs).v<=(value_type)0.0; } /*! Returns true if the shortest - angle between the left-hand and - right-hand side is counter-clockwise, + angle from the left-hand to the + right-hand side is clockwise, or if the angles are refer to the same point on the unit circle. */ bool -- 2.7.4