projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The comments for the inequality comparison operators seemed to suggest that positive...
[synfig.git]
/
ETL
/
trunk
/
ETL
/
_angle.h
diff --git
a/ETL/trunk/ETL/_angle.h
b/ETL/trunk/ETL/_angle.h
index
3080366
..
b873255
100644
(file)
--- a/
ETL/trunk/ETL/_angle.h
+++ b/
ETL/trunk/ETL/_angle.h
@@
-60,7
+60,7
@@
public:
protected:
typedef value_type unit;
protected:
typedef value_type unit;
- unit v; //! Stored in radians
+ unit v; //! Stored in radians
; positive values indicate counter-clockwise.
public:
public:
@@
-128,22
+128,22
@@
public:
}
/*! Returns true if the shortest
}
/*! 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 c
ounter-c
lockwise */
bool
operator<(const angle &rhs)const
{ return dist(rhs).v<(value_type)0.0; }
/*! Returns true if the shortest
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 c
ounter-c
lockwise */
+ 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
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 c
ounter-c
lockwise,
or if the angles are refer to the same
point on the unit circle. */
bool
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
{ return dist(rhs).v<=(value_type)0.0; }
/*! Returns true if the shortest
- angle
between the left-hand and
- right-hand side is c
ounter-c
lockwise,
+ 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
or if the angles are refer to the same
point on the unit circle. */
bool