summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-03-25 14:37:14 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-03-25 14:38:39 -0400
commitede11b2954db19e3ca9d31cef7d04a7bf0e42ddc (patch)
tree9c70615cf8d057ccc6971ad78737e8b03dad6267
parent2721d05d69e42eef592ea0394df89cdc91414330 (diff)
Fix math in comments
-rw-r--r--src/cairo-arc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-arc.c b/src/cairo-arc.c
index dc07fee0..6977e884 100644
--- a/src/cairo-arc.c
+++ b/src/cairo-arc.c
@@ -139,7 +139,7 @@ _arc_segments_needed (double angle,
From that paper, a very practical value of h is:
- h = 4/3 * tan(angle/4)
+ h = 4/3 * R * tan(angle/4)
This value does not give the spline with minimal error, but it does
provide a very good approximation, (6th-order convergence), and the