Fixed SLA clippling plane & picking.

This commit is contained in:
bubnikv 2019-04-12 16:08:40 +02:00
parent 95eb98a103
commit 80afb6da78
3 changed files with 5 additions and 4 deletions

View file

@ -88,6 +88,8 @@ public:
m_data[3] = offset;
}
bool is_active() const { return m_data[3] != DBL_MAX; }
static ClippingPlane ClipsNothing() { return ClippingPlane(Vec3d(0., 0., 1.), DBL_MAX); }
const double* get_data() const { return m_data; }