git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Animation of precision_vs_zoom
[ipdf/code.git]
/
src
/
bezier.h
diff --git
a/src/bezier.h
b/src/bezier.h
index
206cbc8
..
0d3be54
100644
(file)
--- a/
src/bezier.h
+++ b/
src/bezier.h
@@
-293,7
+293,7
@@
namespace IPDF
{
Real t1 = *it;
if (t1 == t0) continue;
{
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))
Real ptx, pty;
Evaluate(ptx, pty, ((t1 + t0) / Real(2)));
if (r.PointIn(ptx, pty))
UCC
git Repository :: git.ucc.asn.au