From d2c94538ae37da22fa0f8c821492f651b1493f12 Mon Sep 17 00:00:00 2001 From: Pierre Alliez Date: Mon, 25 Dec 2023 18:46:33 +0100 Subject: [PATCH] Few more minor changes to examples --- .../Isosurfacing_3/all_Cartesian_cube.cpp | 16 ++++++++-------- .../dual_contouring_Cartesian_grid.cpp | 8 ++++---- .../marching_cubes_multiple_mesh_offsets.cpp | 3 +++ 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Isosurfacing_3/examples/Isosurfacing_3/all_Cartesian_cube.cpp b/Isosurfacing_3/examples/Isosurfacing_3/all_Cartesian_cube.cpp index 6047b568c27..ff2486c881b 100644 --- a/Isosurfacing_3/examples/Isosurfacing_3/all_Cartesian_cube.cpp +++ b/Isosurfacing_3/examples/Isosurfacing_3/all_Cartesian_cube.cpp @@ -17,7 +17,7 @@ using Grid = CGAL::Isosurfacing::Cartesian_grid_3; using Point_range = std::vector; using Polygon_range = std::vector >; -// return 1.0 if `value` has positive sign, and -1.0 otherwise +// return 1.0 if value has positive sign, and -1.0 otherwise FT sign(FT value) { return (value > 0.0) - (value < 0.0); @@ -30,9 +30,9 @@ int main(int, char**) Grid grid { 7, 7, 7, bbox }; // calculate the value at all grid points - for(std::size_t x=0; x