Add return 0 and whitespace

This commit is contained in:
Andreas Fabri 2022-11-23 10:57:16 +00:00
parent f06bbd7313
commit 35ad0e0b50
13 changed files with 27 additions and 5 deletions

View File

@ -77,4 +77,6 @@ int main() {
// save output indexed meshes to files, in the OFF format // save output indexed meshes to files, in the OFF format
CGAL::IO::write_OFF("result_mc.off", points_mc, polygons_mc); CGAL::IO::write_OFF("result_mc.off", points_mc, polygons_mc);
CGAL::IO::write_OFF("result_dc.off", points_dc, polygons_dc); CGAL::IO::write_OFF("result_dc.off", points_dc, polygons_dc);
return 0;
} }

View File

@ -53,4 +53,6 @@ int main() {
// write output indexed surface mesh to file, in OFF format // write output indexed surface mesh to file, in OFF format
CGAL::IO::write_OFF("result.off", points, polygons); CGAL::IO::write_OFF("result.off", points, polygons);
return 0;
} }

View File

@ -54,4 +54,6 @@ int main() {
// save the result in the OFF format // save the result in the OFF format
CGAL::IO::write_OFF("result.off", points, polygons); CGAL::IO::write_OFF("result.off", points, polygons);
return 0;
} }

View File

@ -71,4 +71,6 @@ int main() {
// save output indexed mesh to a file, in the OFF format // save output indexed mesh to a file, in the OFF format
CGAL::IO::write_OFF("result.off", points, polygons); CGAL::IO::write_OFF("result.off", points, polygons);
return 0;
} }

View File

@ -83,4 +83,6 @@ int main() {
CGAL::Isosurfacing::dual_contouring(domain, 0.8, points, polygons); CGAL::Isosurfacing::dual_contouring(domain, 0.8, points, polygons);
CGAL::IO::write_OFF("result.off", points, polygons); CGAL::IO::write_OFF("result.off", points, polygons);
return 0;
} }

View File

@ -46,4 +46,6 @@ int main() {
// save output indexed surface mesh to file, in the OFF format // save output indexed surface mesh to file, in the OFF format
CGAL::IO::write_OFF("result.off", points, polygons); CGAL::IO::write_OFF("result.off", points, polygons);
return 0;
} }

View File

@ -32,4 +32,6 @@ int main() {
// save ouput indexed mesh to a file, in the OFF format // save ouput indexed mesh to a file, in the OFF format
CGAL::IO::write_OFF("result.off", points, polygons); CGAL::IO::write_OFF("result.off", points, polygons);
return 0;
} }

View File

@ -37,4 +37,6 @@ int main() {
// save output indexed mesh to a file, in the OFF format // save output indexed mesh to a file, in the OFF format
CGAL::IO::write_OFF("result.off", points, polygons); CGAL::IO::write_OFF("result.off", points, polygons);
return 0;
} }

View File

@ -94,4 +94,6 @@ int main() {
// save output indexed triangle soup to a file, in the OFF format // save output indexed triangle soup to a file, in the OFF format
CGAL::IO::write_OFF("output.off", points, polygons); CGAL::IO::write_OFF("output.off", points, polygons);
return 0;
} }

View File

@ -1,5 +1,5 @@
#ifndef CGAL_TIMER_H #ifndef SCOPE_TIMER_H
#define CGAL_TIMER_H #define SCOPE_TIMER_H
#include <chrono> #include <chrono>
#include <iostream> #include <iostream>
@ -35,4 +35,4 @@ private:
bool running; bool running;
}; };
#endif // CGAL_TIMER_H #endif // SCOPE_TIMER_H

View File

@ -78,4 +78,6 @@ int main() {
// CGAL::IO::write_OFF("result.off", mesh); // CGAL::IO::write_OFF("result.off", mesh);
CGAL::IO::write_OFF("result.off", points, polygons); CGAL::IO::write_OFF("result.off", points, polygons);
return 0;
} }

View File

@ -91,4 +91,6 @@ int main() {
test_grid_sphere(100); test_grid_sphere(100);
std::cout << "All tests passed" << std::endl; std::cout << "All tests passed" << std::endl;
return 0;
} }