From 5a512674c45f784dbd2bc5ae3c8366a461cdfb64 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:29:04 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=E4=BD=BF=E7=94=A8=20u?= =?UTF-8?q?sing=20namespace=20vde::core=20=E5=BC=95=E5=85=A5=20Point3D/Vec?= =?UTF-8?q?tor3D?= 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 | 3 +-- tests/mesh/test_delaunay_3d.cpp | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/boolean/test_boolean_mesh.cpp b/tests/boolean/test_boolean_mesh.cpp index 633f6e7..7aa5434 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 vde::core::Point3D; +using namespace vde::core; // ── 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 6dd27f2..3a2a0c7 100644 --- a/tests/brep/test_brep.cpp +++ b/tests/brep/test_brep.cpp @@ -4,8 +4,7 @@ #include using namespace vde::brep; -using vde::core::Point3D; -using vde::core::Vector3D; +using namespace vde::core; // ═══════════════════════════════════════════════════════════ // Basic entity creation (box, sphere, cylinder) diff --git a/tests/mesh/test_delaunay_3d.cpp b/tests/mesh/test_delaunay_3d.cpp index 6711710..3bc39c0 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 vde::core::Point3D; +using namespace vde::core; // ── Helper: compute circumsphere center and radius of 4 points ── // Returns (center, radius_squared). If points are coplanar, radius_sq < 0.