Additional wrapping for #3140
This commit is contained in:
parent
cc9968f893
commit
6e1bc03d3b
7 changed files with 18 additions and 18 deletions
|
|
@ -6699,7 +6699,7 @@ void plan_arc(
|
|||
|
||||
float mm_of_travel = hypot(angular_travel * radius, fabs(linear_travel));
|
||||
if (mm_of_travel < 0.001) return;
|
||||
uint16_t segments = floor(mm_of_travel / MM_PER_ARC_SEGMENT);
|
||||
uint16_t segments = floor(mm_of_travel / (MM_PER_ARC_SEGMENT));
|
||||
if (segments == 0) segments = 1;
|
||||
|
||||
float theta_per_segment = angular_travel / segments;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue