浏览代码

bug in modified winding number

Former-commit-id: f1288be6558342f2de409de80c831780c1b37e70
Alec Jacobson 10 年之前
父节点
当前提交
15cbb1eebd
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      include/igl/WindingNumberTree.h

+ 2 - 1
include/igl/WindingNumberTree.h

@@ -156,7 +156,7 @@ inline igl::WindingNumberTree<Point>::WindingNumberTree(
   radius(std::numeric_limits<double>::infinity()),
   center(0,0,0)
 {
-  set_mesh(V,F);
+  set_mesh(_V,_F);
 }
 
 template <typename Point>
@@ -164,6 +164,7 @@ inline void igl::WindingNumberTree<Point>::set_mesh(
     const Eigen::MatrixXd & _V,
     const Eigen::MatrixXi & _F)
 {
+  using namespace std;
   // Remove any exactly duplicate vertices
   // Q: Can this ever increase the complexity of the boundary?
   // Q: Would we gain even more by remove almost exactly duplicate vertices?