Selaa lähdekoodia

note in reanttweakbar and boundary faces assertion

Former-commit-id: c2cb7c1f2e31945af1e46599e10f1086a9ca7993
Alec Jacobson (jalec 11 vuotta sitten
vanhempi
commit
e100aa33d6
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 0
      include/igl/ReAntTweakBar.h
  2. 1 1
      include/igl/boundary_faces.cpp

+ 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());