diff --git a/MeshLib/MeshEditing/ProjectPointOnMesh.cpp b/MeshLib/MeshEditing/ProjectPointOnMesh.cpp index 3ad783949cbca5b0e4ba014aed7741596160e124..f6088c13644fc7fbcf0f9f05ef06f804aa918d38 100644 --- a/MeshLib/MeshEditing/ProjectPointOnMesh.cpp +++ b/MeshLib/MeshEditing/ProjectPointOnMesh.cpp @@ -21,10 +21,8 @@ namespace ProjectPointOnMesh Element const* getProjectedElement(std::vector<const Element*> const& elements, MathLib::Point3d const& node) { - auto is_right_of = [&node](Node const& a, Node const& b) { - return GeoLib::getOrientationFast(node, a, b) == - GeoLib::Orientation::CW; - }; + auto is_right_of = [&node](Node const& a, Node const& b) + { return GeoLib::getOrientation(node, a, b) == GeoLib::Orientation::CW; }; for (auto const* e : elements) {