From 59daf39af280d3254e1afb924bf9e110fe4495c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=82=E4=B9=8B=E9=92=B3?= Date: Thu, 23 Jul 2026 15:27:00 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20S9=20=E6=B5=8B=E8=AF=95=20namespace=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20(core=E2=86=92vde)=20+=20unused=20variable?= =?UTF-8?q?=20=E6=B6=88=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/boolean/test_boolean_mesh.cpp | 2 +- tests/brep/test_brep.cpp | 4 ++-- tests/mesh/test_delaunay_3d.cpp | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/boolean/test_boolean_mesh.cpp b/tests/boolean/test_boolean_mesh.cpp index e4efece..59da9ac 100644 --- a/tests/boolean/test_boolean_mesh.cpp +++ b/tests/boolean/test_boolean_mesh.cpp @@ -5,7 +5,7 @@ using namespace vde::boolean; using namespace vde::mesh; -using core::Point3D; +using vde::Point3D; // ── Helper: build a box mesh (12 triangles, 8 vertices) ── // Face normals point outward (CCW winding from outside) diff --git a/tests/brep/test_brep.cpp b/tests/brep/test_brep.cpp index 90248be..da97d7c 100644 --- a/tests/brep/test_brep.cpp +++ b/tests/brep/test_brep.cpp @@ -4,8 +4,8 @@ #include using namespace vde::brep; -using core::Point3D; -using core::Vector3D; +using vde::Point3D; +using vde::Vector3D; // ═══════════════════════════════════════════════════════════ // Basic entity creation (box, sphere, cylinder) diff --git a/tests/mesh/test_delaunay_3d.cpp b/tests/mesh/test_delaunay_3d.cpp index ac5f5e7..540a714 100644 --- a/tests/mesh/test_delaunay_3d.cpp +++ b/tests/mesh/test_delaunay_3d.cpp @@ -3,7 +3,7 @@ #include using namespace vde::mesh; -using core::Point3D; +using vde::Point3D; // ── Helper: compute circumsphere center and radius of 4 points ── // Returns (center, radius_squared). If points are coplanar, radius_sq < 0. @@ -53,6 +53,7 @@ static bool verify_empty_circumsphere( if (r2 < 0.0) continue; // degenerate double r = std::sqrt(r2); + (void)r; // explicitly unused, computed for potential debugging for (const auto& pt : input_points) { // Skip vertices of this tetrahedron double d2 = (pt - center).squaredNorm();