SLA gizmo no more uses IGL code directly, all was moved to the new MeshRaycaster class

This commit is contained in:
Lukas Matena 2019-09-17 14:56:46 +02:00
parent 1dfd8a0e62
commit 6bcafd7c83
4 changed files with 24 additions and 39 deletions

View file

@ -103,6 +103,8 @@ public:
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;
Vec3f get_closest_point(const Vec3f& point, Vec3f* normal = nullptr) const;
private:
// PIMPL wrapper around igl::AABB so I don't have to include the header-only IGL here
class AABBWrapper;