Эх сурвалжийг харах

note in reanttweakbar and boundary faces assertion

Former-commit-id: c2cb7c1f2e31945af1e46599e10f1086a9ca7993
Alec Jacobson (jalec 11 жил өмнө
parent
commit
e100aa33d6

+ 1 - 0
include/igl/ReAntTweakBar.h

@@ -88,6 +88,7 @@ namespace igl
     }
     // Shallow copy constructor
     // I solemnly swear it's OK to copy var this way
+    // Q: Is it really?
     IGL_INLINE ReTwRWItem(const ReTwRWItem & that):
       name(that.name),
       type(that.type),

+ 1 - 1
include/igl/boundary_faces.cpp

@@ -91,7 +91,7 @@ IGL_INLINE void igl::boundary_faces(
       k++;
     }
   }
-  assert(k==F.size());
+  assert(k==(int)F.size());
   //if(k != F.size())
   //{
   //  printf("%d =? %d\n",k,F.size());