소스 검색

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;