Skip to content

Commit

Permalink
refactor: rename to 6 connected
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Oct 24, 2024
1 parent 689983b commit 1593d50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zmesh/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class Vec3 {
}
};

void fix_single_outlier(
void fix_single_outlier_6_connected(
const float* vertices,
const Vec3<float> minpt,
const std::vector<uint32_t>& face_remap,
Expand Down Expand Up @@ -310,23 +310,23 @@ std::vector<MeshObject> 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,
f1, f2, f3
);
}
else if (zones[f1] == zones[f3]) {
fix_single_outlier(
fix_single_outlier_6_connected(
vertices, minpt,
face_remap, zones,
mesh_grid, cs, gs,
f1, f3, f2
);
}
else if (zones[f2] == zones[f3]) {
fix_single_outlier(
fix_single_outlier_6_connected(
vertices, minpt,
face_remap, zones,
mesh_grid, cs, gs,
Expand Down

0 comments on commit 1593d50

Please sign in to comment.