Skip to content

Commit

Permalink
lib/vector: fix always true condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Jul 30, 2024
1 parent 8492e87 commit 6eb1936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vector/Vlib/buffer2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ void Vect_point_buffer2(double px, double py, double da, double db,

dalpha *= PI / 180; /* convert dalpha from degrees to radians */

if (round || (!round)) {
if (!round) { // square
angular_tol = angular_tolerance(tol, da, db);

nsegments = (int)(2 * PI / angular_tol) + 1;
Expand Down

0 comments on commit 6eb1936

Please sign in to comment.