Started work on extending EigenMesh3D to account for possible drain holes when raycasting

This commit is contained in:
Lukas Matena 2019-11-15 15:48:52 +01:00
parent 673549d608
commit 9dd18a8d6d
6 changed files with 149 additions and 32 deletions

View file

@ -36,6 +36,12 @@ struct DrainHole
bool operator==(const DrainHole &sp) const;
bool operator!=(const DrainHole &sp) const { return !(sp == (*this)); }
bool is_inside(const Vec3f& pt) const;
std::pair<float, float> get_intersections(const Vec3f& s,
const Vec3f& dir
) const;
template<class Archive> inline void serialize(Archive &ar)
{