From 1593d50ac5ba91d0060cfbcb479c5e4267cdb2f1 Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Thu, 24 Oct 2024 15:36:11 -0400 Subject: [PATCH] refactor: rename to 6 connected --- zmesh/utility.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zmesh/utility.hpp b/zmesh/utility.hpp index c1e3a18..d5b9126 100644 --- a/zmesh/utility.hpp +++ b/zmesh/utility.hpp @@ -141,7 +141,7 @@ class Vec3 { } }; -void fix_single_outlier( +void fix_single_outlier_6_connected( const float* vertices, const Vec3 minpt, const std::vector& face_remap, @@ -310,7 +310,7 @@ std::vector chunk_mesh_accelerated( if (!(zones[f1] == zones[f2] && zones[f1] == zones[f3])) { if (zones[f1] == zones[f2]) { - fix_single_outlier( + fix_single_outlier_6_connected( vertices, minpt, face_remap, zones, mesh_grid, cs, gs, @@ -318,7 +318,7 @@ std::vector chunk_mesh_accelerated( ); } else if (zones[f1] == zones[f3]) { - fix_single_outlier( + fix_single_outlier_6_connected( vertices, minpt, face_remap, zones, mesh_grid, cs, gs, @@ -326,7 +326,7 @@ std::vector chunk_mesh_accelerated( ); } else if (zones[f2] == zones[f3]) { - fix_single_outlier( + fix_single_outlier_6_connected( vertices, minpt, face_remap, zones, mesh_grid, cs, gs,