Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Fixed detection of collision with circular printbed in backend
This commit is contained in:
parent
1f82eb5624
commit
f3bd5e96c5
3 changed files with 14 additions and 5 deletions
|
@ -86,7 +86,7 @@ static inline bool is_ccw(const Polygon &poly)
|
|||
|
||||
#if ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS
|
||||
// returns true if the given polygons are identical
|
||||
static bool are_approx(const Polygon& lhs, const Polygon& rhs)
|
||||
static inline bool are_approx(const Polygon& lhs, const Polygon& rhs)
|
||||
{
|
||||
if (lhs.points.size() != rhs.points.size())
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue