mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
MeshRaycaster class is now used in SLA gizmo when selecting by rectangle
This commit is contained in:
parent
3694bf3da9
commit
1dfd8a0e62
3 changed files with 63 additions and 70 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue