Skip to content

Commit

Permalink
use cgogn_log_info instead of cout
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrekraemer committed Mar 31, 2016
1 parent e9cb6e9 commit cd81678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cgogn/io/examples/cmap2_import.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ int main(int argc, char** argv)
uint32 nb_vertices = 0;
cgogn::CellCache<Map2::Vertex, Map2> vmask(map);
map.foreach_cell([&nb_vertices] (Map2::Vertex) { nb_vertices++; }, vmask);
std::cout << "nb vertices -> " << nb_vertices << std::endl;
cgogn_log_info("cmap2_import") << "nb vertices -> " << nb_vertices;

uint32 nb_boundary_faces = 0;
cgogn::BoundaryCache<Map2> bmask(map);
map.foreach_cell([&nb_boundary_faces] (Map2::Boundary) { nb_boundary_faces++; }, bmask);
std::cout << "nb boundary faces -> " << nb_boundary_faces << std::endl;
cgogn_log_info("cmap2_import") << "nb boundary faces -> " << nb_boundary_faces;

uint32 nb_faces = 0;
map.foreach_cell([&nb_faces] (Map2::Face) { nb_faces++;});
Expand Down

0 comments on commit cd81678

Please sign in to comment.