浏览代码

assert

Former-commit-id: 43be27d85fa3485a07c796f8d26e2f60a487f4ea
Alec Jacobson 9 年之前
父节点
当前提交
b316aeb89d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/igl/copyleft/cgal/propagate_winding_numbers.cpp

+ 1 - 0
include/igl/copyleft/cgal/propagate_winding_numbers.cpp

@@ -119,6 +119,7 @@ IGL_INLINE bool igl::copyleft::cgal::propagate_winding_numbers(
   bool valid = true;
   if (!piecewise_constant_winding_number(F, uE, uE2E)) 
   {
+    assert(false && "Input mesh is not orientable");
     std::cerr << "Input mesh is not orientable!" << std::endl;
     valid = false;
   }