1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-01 11:25:50 +00:00

EigenMesh3D raycaster should now be able to pick a correct intersection on the object or inside a hole

This commit is contained in:
Lukas Matena
2019-11-19 14:27:05 +01:00
parent 9dd18a8d6d
commit 2c1d256b0c
5 changed files with 147 additions and 57 deletions
+2 -3
View File
@@ -39,9 +39,8 @@ struct DrainHole
bool is_inside(const Vec3f& pt) const;
std::pair<float, float> get_intersections(const Vec3f& s,
const Vec3f& dir
) const;
bool get_intersections(const Vec3f& s, const Vec3f& dir,
std::array<std::pair<float, Vec3d>, 2>& out) const;
template<class Archive> inline void serialize(Archive &ar)
{