[CAM SIMULATOR] Bug fixes for Issues #16073 and #16052 (#16118)

* Bug fixes for Issues #16073 and #16052

* Fix tool rendering when tool position is not reset. Issue #16180

* Fix some lint warnings
This commit is contained in:
Shai Seger
2024-09-02 19:31:08 +03:00
committed by GitHub
parent 85c1f5c47c
commit e15af16232
9 changed files with 85 additions and 82 deletions

View File

@@ -49,7 +49,7 @@ bool IsArcMotion(MillMotion* m)
if (m->cmd != eRotateCCW && m->cmd != eRotateCW) {
return false;
}
return fabs(m->i > EPSILON) || fabs(m->j) > EPSILON;
return fabs(m->i) > EPSILON || fabs(m->j) > EPSILON;
}
float MillPathSegment::mResolution = 1;