summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/geometry.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-18 22:47:34 +0000
committerKarl Berry <karl@freefriends.org>2013-05-18 22:47:34 +0000
commit8da523330e61ea8e7b930c09cecaddec0b3a72a0 (patch)
tree07f156e733c33e3f416fa3de086bec250c693a25 /Master/texmf-dist/asymptote/geometry.asy
parentbaff4255d94a765ab41d84c89ea23e44151770ee (diff)
asymptote 2.22
git-svn-id: svn://tug.org/texlive/trunk@30566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/geometry.asy')
-rw-r--r--Master/texmf-dist/asymptote/geometry.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/geometry.asy b/Master/texmf-dist/asymptote/geometry.asy
index bbbc823fc54..6dc10674bd9 100644
--- a/Master/texmf-dist/asymptote/geometry.asy
+++ b/Master/texmf-dist/asymptote/geometry.asy
@@ -4099,7 +4099,7 @@ real arclength(ellipse el, real angle1, real angle2,
real S(real a)
{//Return the arclength from 0 to the angle 'a' (in degrees)
// given form the center of the ellipse.
- real gle = atan(el.a * Tan(a)/el.b)+
+ real gle = atan(el.a * tan(radians(a))/el.b)+
pi * (((a%90 == 0 && a != 0) ? floor(a/90) - 1 : floor(a/90)) -
((a%180 == 0) ? 0 : floor(a/180)) -
(a%360 == 0 ? floor(a/(360)) : 0));