Browse Source

eps

Former-commit-id: 55133ff161847c1b92f1d249c4cf780c7f06d283
Alec Jacobson 10 năm trước cách đây
mục cha
commit
cc9377afb8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/igl/InElementAABB.h

+ 1 - 1
include/igl/InElementAABB.h

@@ -276,7 +276,7 @@ inline std::vector<int> igl::InElementAABB::find(
   bool inside = true;
   const int dim = m_bb_max.size();
   assert(q.size() == m_bb_max.size());
-  const double epsilon = 1e-14;
+  const double epsilon = igl::EPS<double>();
   // Check if outside bounding box
   for(int d = 0;d<q.size()&&inside;d++)
   {