Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Fixed detection of collision with circular printbed in backend

This commit is contained in:
enricoturri1966 2021-10-01 07:28:10 +02:00
parent 1f82eb5624
commit f3bd5e96c5
3 changed files with 14 additions and 5 deletions

View file

@ -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;