Explorar o código

eps

Former-commit-id: 55133ff161847c1b92f1d249c4cf780c7f06d283
Alec Jacobson %!s(int64=10) %!d(string=hai) anos
pai
achega
cc9377afb8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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++)
   {