mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-18 07:29:33 +00:00
[1.1.x] Use M_PI instead of PI (#10702)
This commit is contained in:
parent
a9cef45d45
commit
ef9617fe44
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@
|
|||
|
||||
#if ENABLED(ARC_SUPPORT)
|
||||
|
||||
#define ARC_LENGTH(quarters) (INTERSECTION_CIRCLE_RADIUS * PI * (quarters) / 2)
|
||||
#define ARC_LENGTH(quarters) (INTERSECTION_CIRCLE_RADIUS * M_PI * (quarters) / 2)
|
||||
float sx = circle_x + INTERSECTION_CIRCLE_RADIUS, // default to full circle
|
||||
ex = circle_x + INTERSECTION_CIRCLE_RADIUS,
|
||||
sy = circle_y, ey = circle_y,
|
||||
|
|
Loading…
Reference in a new issue