Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Matena <lukasmatena@seznam.cz>2019-09-17 15:14:26 +0300
committerLukas Matena <lukasmatena@seznam.cz>2019-09-17 15:57:54 +0300
commit1dfd8a0e621fc5ea3731d0fd407ba121f550ebf7 (patch)
treedaa855b7a755564ffb6773ca681783d7e64c5c55 /src/slic3r/GUI/MeshUtils.hpp
parent3694bf3da97fbbcbabe0ec15607eda8236a8ca39 (diff)
MeshRaycaster class is now used in SLA gizmo when selecting by rectangle
Diffstat (limited to 'src/slic3r/GUI/MeshUtils.hpp')
-rw-r--r--src/slic3r/GUI/MeshUtils.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/MeshUtils.hpp b/src/slic3r/GUI/MeshUtils.hpp
index 5c11053ab..2573b4b89 100644
--- a/src/slic3r/GUI/MeshUtils.hpp
+++ b/src/slic3r/GUI/MeshUtils.hpp
@@ -100,8 +100,8 @@ public:
bool unproject_on_mesh(const Vec2d& mouse_pos, const Transform3d& trafo, const Camera& camera,
std::vector<Vec3f>* positions = nullptr, std::vector<Vec3f>* normals = nullptr) const;
- std::vector<size_t> get_unobscured_idxs(const Transform3d& trafo, const Camera& camera,
- const std::vector<Vec3f>& points) const;
+ std::vector<unsigned> get_unobscured_idxs(const Geometry::Transformation& trafo, const Camera& camera,
+ const std::vector<Vec3f>& points, std::function<bool(const Vec3f&)> fn_ignore_hit) const;
private:
// PIMPL wrapper around igl::AABB so I don't have to include the header-only IGL here