فهرست منبع

Output model information (number of triangles) in order to estimate efficiency.

Former-commit-id: 18301f437d49ec4e13c92f9a3b725d6cc28c6f6a
Wesley Ranger 9 سال پیش
والد
کامیت
6aced2d2e2
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      tutorial/609_Boolean/main.cpp

+ 4 - 0
tutorial/609_Boolean/main.cpp

@@ -79,6 +79,10 @@ int main(int argc, char *argv[])
   using namespace std;
   igl::readOFF(TUTORIAL_SHARED_PATH "/cheburashka.off",VA,FA);
   igl::readOFF(TUTORIAL_SHARED_PATH "/decimated-knight.off",VB,FB);
+  
+  std::cout << "Mosel A: " << FA.rows() << " Triangles" << std::endl
+	  << "Mosel B: " << FB.rows() << " Triangles" << std::endl;
+
   // Plot the mesh with pseudocolors
   igl::viewer::Viewer viewer;