Explorar el Código

Merge branch 'master' of https://github.com/libigl/libigl

Former-commit-id: 4c5c34d2d49f5d3c2a3a74e4ba4d7b045b8effe3
Olga Diamanti hace 10 años
padre
commit
094ba495f4
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      include/igl/cgal/SelfIntersectMesh.h

+ 2 - 3
include/igl/cgal/SelfIntersectMesh.h

@@ -157,7 +157,7 @@ namespace igl
       // Helper function for box_intersect. In the case where A and B have
       // already been identified to share two vertices, then we only want to add
       // a possible coplanar (Triangle) intersection. Assumes truly degenerate
-      // facets are not givine as input.
+      // facets are not givin as input.
       inline bool double_shared_vertex(
           const Triangle_3 & A,
           const Triangle_3 & B,
@@ -771,8 +771,7 @@ inline bool igl::SelfIntersectMesh<Kernel>::double_shared_vertex(
       return false;
     }
   }
-  // Shouldn't get here either
-  assert(false);
+  // No intersection.
   return false;
 }