diff options
author | lecoanet | 2002-03-15 14:07:09 +0000 |
---|---|---|
committer | lecoanet | 2002-03-15 14:07:09 +0000 |
commit | e03a3e417c3b889ff66b4eb64d6731995adf6f91 (patch) | |
tree | 060626960cf9c0b7381e23c8fb4d52dd83abf018 | |
parent | 1d0552a94e6c049e19f8ac5172a975ae38ba911d (diff) | |
download | tkzinc-e03a3e417c3b889ff66b4eb64d6731995adf6f91.zip tkzinc-e03a3e417c3b889ff66b4eb64d6731995adf6f91.tar.gz tkzinc-e03a3e417c3b889ff66b4eb64d6731995adf6f91.tar.bz2 tkzinc-e03a3e417c3b889ff66b4eb64d6731995adf6f91.tar.xz |
*** empty log message ***
-rw-r--r-- | generic/Geo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/Geo.c b/generic/Geo.c index c0a3e80..b1ec972 100644 --- a/generic/Geo.c +++ b/generic/Geo.c @@ -2250,10 +2250,10 @@ GetCirclePoints(int type, if (end_angle < 0.0) { end_angle += 2.0*M_PI; } - if (start_angle >= end_angle) { - if (start_angle == end_angle) { - type = 3; - } + if (start_angle == end_angle) { + type = 3; + } + if (start_angle > end_angle) { iangle = start_angle; start_angle = end_angle; end_angle = iangle; |