mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
EigenMesh3D raycaster should now be able to pick a correct intersection on the object or inside a hole
This commit is contained in:
parent
9dd18a8d6d
commit
2c1d256b0c
5 changed files with 147 additions and 57 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue