From 506ee98411df00040153ae1b2e757a7ce4376aea Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Sun, 4 Mar 2018 22:06:11 -0500 Subject: [PATCH] libarea misc. typo fix This is a source typo fix. Please review. --- src/Mod/Path/libarea/Arc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/libarea/Arc.cpp b/src/Mod/Path/libarea/Arc.cpp index e5c2e216f6..4b5eed6f00 100644 --- a/src/Mod/Path/libarea/Arc.cpp +++ b/src/Mod/Path/libarea/Arc.cpp @@ -92,7 +92,7 @@ void CArc::GetSegments(void(*callbackfunc)(const double *p), double pixels_per_m double theta = d_angle / (double)segments; while(theta>1.0){segments*=2;theta = d_angle / (double)segments;} - double tangetial_factor = tan(theta); + double tangential_factor = tan(theta); double radial_factor = 1 - cos(theta); double x = radius * cos(start_angle); @@ -110,8 +110,8 @@ void CArc::GetSegments(void(*callbackfunc)(const double *p), double pixels_per_m double tx = -y; double ty = x; - x += tx * tangetial_factor; - y += ty * tangetial_factor; + x += tx * tangential_factor; + y += ty * tangential_factor; double rx = - x; double ry = - y;