diff --git a/src/common/tvgLines.cpp b/src/common/tvgLines.cpp index 217b4917..98b8423c 100644 --- a/src/common/tvgLines.cpp +++ b/src/common/tvgLines.cpp @@ -238,7 +238,7 @@ float bezAngleAt(const Bezier& bz, float t) pt.x *= 3; pt.y *= 3; - return mathRad2Deg(atan2(pt.x, pt.y)); + return mathRad2Deg(atan2(pt.y, pt.x)); }