]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bezier-bow.cc
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / bezier-bow.cc
index 90253bdf2282d1f095b07b3d79c01d4aa159a8b3..ccb27d58ea7f76e61cb1f4e00d3718d2821d12e6 100644 (file)
@@ -3,11 +3,9 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1998--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1998--2007 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
-#include <math.h>
-
 #include "misc.hh"
 #include "bezier.hh"
 
@@ -24,11 +22,11 @@ slur_height (Real width, Real h_inf, Real r_0)
 }
 
 /*
-  ^              x                    x
+  ^                x                    x
   |
   height   <indent>
   |
-  v      x                                    x
+  v      x                                       x
 
 
 
@@ -98,8 +96,7 @@ get_slur_indent_height (Real *indent, Real *height,
   *height = slur_height (width, h_inf, r_0);
 
   Real q = 2 * h_inf / max_fraction;
-  *indent
-    = 2 * h_inf - sqr (q) * max_fraction / (width + q);
+  *indent = 2 * h_inf - sqr (q) * max_fraction / (width + q);
 }
 
 Bezier