X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fbezier.h;h=0d3be544ffb80306fb8cc164f651656f58bef794;hb=3837f6a4e6ade33b9c57b1207f9f0774212c29b5;hp=206cbc8a17795d7d267fd02dd029cfeaccd963fc;hpb=ea4829e265bd45b9c1b8556463d10ee1e082c6ce;p=ipdf%2Fcode.git diff --git a/src/bezier.h b/src/bezier.h index 206cbc8..0d3be54 100644 --- a/src/bezier.h +++ b/src/bezier.h @@ -293,7 +293,7 @@ namespace IPDF { Real t1 = *it; if (t1 == t0) continue; - Debug(" -- t0: %f to t1: %f: %f", Double(t0), Double(t1), (t1 + t0)/Real(2)); + Debug(" -- t0: %f to t1: %f: %f", Double(t0), Double(t1), Double((t1 + t0)/Real(2))); Real ptx, pty; Evaluate(ptx, pty, ((t1 + t0) / Real(2))); if (r.PointIn(ptx, pty))