From f596e654f4ca38e737e40f770d60cb2f657f9d66 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 22 May 2025 23:23:16 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/Mod/CAM/PathSimulator/App/VolSim.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/CAM/PathSimulator/App/VolSim.cpp b/src/Mod/CAM/PathSimulator/App/VolSim.cpp index 81fa2faef6..2a6164e8d9 100644 --- a/src/Mod/CAM/PathSimulator/App/VolSim.cpp +++ b/src/Mod/CAM/PathSimulator/App/VolSim.cpp @@ -33,7 +33,7 @@ #include "VolSim.h" using std::numbers::pi; - + //************************************************************************************************************ // stock //************************************************************************************************************ @@ -560,7 +560,7 @@ void cStock::ApplyLinearTool(Point3D& p1, Point3D& p2, cSimTool& tool) // end cup for (float r = 0.5f; r <= rad; r += (float)SIM_WALK_RES) { Point3D cupCirc(perpDirX * r, perpDirY * r, pi2.z); - float rotang = 180 * SIM_WALK_RES / (pi* r); + float rotang = 180 * SIM_WALK_RES / (pi * r); cupCirc.SetRotationAngle(-rotang); float z = pi2.z + tool.GetToolProfileAt(r / rad); for (float a = 0; a < cupAngle; a += rotang) {