remove debug messages in closest_point_calculation()

This commit is contained in:
stefan schippers 2023-09-22 03:46:42 +02:00
parent 5181ca77e6
commit a53ea21026
1 changed files with 1 additions and 2 deletions

View File

@ -425,8 +425,7 @@ static int closest_point_calculation(double x1, double y1, double x2, double y2,
else if(sq_distance < sq_cs) ret = 1;
}
dbg(0, "x3 = %g y3=%g dist=%g ret=%d\n", x3, y3, sqrt(sq_distance), ret);
if(touch(x1, y1, x2, y2, x3, y3)) dbg(0, "touches\n");
dbg(1, "x3 = %g y3=%g dist=%g ret=%d\n", x3, y3, sqrt(sq_distance), ret);
if(ret == 1) {
*x0 = my_round(x3 / cs) * cs;
*y0 = my_round(y3 / cs) * cs;