mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Holes are now visible on slices in preview.
This commit is contained in:
parent
97811130a1
commit
d4d037792d
9 changed files with 123 additions and 71 deletions
|
@ -47,7 +47,7 @@ public:
|
|||
bool operator!=(const ClippingPlane& cp) const { return ! (*this==cp); }
|
||||
|
||||
double distance(const Vec3d& pt) const {
|
||||
assert(is_approx(get_normal().norm(), 1.));
|
||||
// FIXME: this fails: assert(is_approx(get_normal().norm(), 1.));
|
||||
return (-get_normal().dot(pt) + m_data[3]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue