X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fpath.cpp;h=c58d3df977d7e944fb9ca76c2ef0087382c597c2;hp=3f938220f09f972f92731be38bbe4ea78dc3596b;hb=6472d20ee58d2ecc0aee8bc1a12a071b2afc8a27;hpb=0361b11485ec41d2c2ddeb279abf846f777f5363 diff --git a/src/path.cpp b/src/path.cpp index 3f93822..c58d3df 100644 --- a/src/path.cpp +++ b/src/path.cpp @@ -126,7 +126,7 @@ bool Path::PointInside(const Objects & objects, const Vec2 & pt, bool debug) con for (unsigned i = 0; i < x_ints.size(); ++i) { if (debug) - Debug("X Intersection %u at %f,%f vs %f,%f", i,x_ints[i].x, x_ints[i].y, pt.x, pt.y); + Debug("X Intersection %u at %f,%f vs %f,%f", i,Double(x_ints[i].x), Double(x_ints[i].y), Double(pt.x), Double(pt.y)); if (x_ints[i].y >= pt.y) { @@ -147,7 +147,7 @@ bool Path::PointInside(const Objects & objects, const Vec2 & pt, bool debug) con for (unsigned i = 0; i < y_ints.size(); ++i) { if (debug) - Debug("Y Intersection %u at %f,%f vs %f,%f", i,x_ints[i].x, x_ints[i].y, pt.x, pt.y); + Debug("Y Intersection %u at %f,%f vs %f,%f", i,Double(y_ints[i].x), Double(y_ints[i].y), Double(pt.x), Double(pt.y)); if (y_ints[i].x >= pt.x) {