Real find_closest(const etl::bezier<Point> &curve, const Point &point, float step, Real *closest, float *t);
//----------- Rectangle helper functions ---------------
Real find_closest(const etl::bezier<Point> &curve, const Point &point, float step, Real *closest, float *t);
//----------- Rectangle helper functions ---------------