mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
SLA support points generator now uses precalculated aabb tree
This commit is contained in:
parent
d32d0a7636
commit
24a0fdb844
4 changed files with 20 additions and 19 deletions
|
@ -71,12 +71,13 @@ public:
|
|||
int m_face_id = -1;
|
||||
const EigenMesh3D& m_mesh;
|
||||
Vec3d m_dir;
|
||||
Vec3d m_source;
|
||||
inline hit_result(const EigenMesh3D& em): m_mesh(em) {}
|
||||
friend class EigenMesh3D;
|
||||
public:
|
||||
|
||||
inline double distance() const { return m_t; }
|
||||
|
||||
inline const Vec3d& direction() const { return m_dir; }
|
||||
inline int face() const { return m_face_id; }
|
||||
|
||||
inline Vec3d normal() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue