From 9e2a59ee6ab32758bafffb65ea61732cdc9e9224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Mon, 24 Mar 2025 11:48:19 +0100 Subject: [PATCH] Fix bad orientation of some TMC output triangles --- .../internal/topologically_correct_marching_cubes_functors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h index f1a6ae1018a..b5d31c0621b 100644 --- a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h +++ b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h @@ -152,7 +152,7 @@ public: const int eg1 = Cube_table::triangle_cases[t_index + 1]; const int eg2 = Cube_table::triangle_cases[t_index + 2]; - local_triangles.push_back({vertices[eg0], vertices[eg1], vertices[eg2]}); + local_triangles.push_back({vertices[eg2], vertices[eg1], vertices[eg0]}); } }