Browse Source

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

Former-commit-id: 4c5c34d2d49f5d3c2a3a74e4ba4d7b045b8effe3
Olga Diamanti 10 years ago
parent
commit
094ba495f4
1 changed files with 2 additions and 3 deletions
  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
       // 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
       // already been identified to share two vertices, then we only want to add
       // a possible coplanar (Triangle) intersection. Assumes truly degenerate
       // 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(
       inline bool double_shared_vertex(
           const Triangle_3 & A,
           const Triangle_3 & A,
           const Triangle_3 & B,
           const Triangle_3 & B,
@@ -771,8 +771,7 @@ inline bool igl::SelfIntersectMesh<Kernel>::double_shared_vertex(
       return false;
       return false;
     }
     }
   }
   }
-  // Shouldn't get here either
-  assert(false);
+  // No intersection.
   return false;
   return false;
 }
 }