fix: S9 测试 namespace 修复 (core→vde) + unused variable 消除
CI / Build & Test (push) Failing after 2m52s
CI / Release Build (push) Failing after 1m31s

This commit is contained in:
茂之钳
2026-07-23 15:27:00 +00:00
parent 785250c2b1
commit 59daf39af2
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
using namespace vde::boolean; using namespace vde::boolean;
using namespace vde::mesh; using namespace vde::mesh;
using core::Point3D; using vde::Point3D;
// ── Helper: build a box mesh (12 triangles, 8 vertices) ── // ── Helper: build a box mesh (12 triangles, 8 vertices) ──
// Face normals point outward (CCW winding from outside) // Face normals point outward (CCW winding from outside)
+2 -2
View File
@@ -4,8 +4,8 @@
#include <cmath> #include <cmath>
using namespace vde::brep; using namespace vde::brep;
using core::Point3D; using vde::Point3D;
using core::Vector3D; using vde::Vector3D;
// ═══════════════════════════════════════════════════════════ // ═══════════════════════════════════════════════════════════
// Basic entity creation (box, sphere, cylinder) // Basic entity creation (box, sphere, cylinder)
+2 -1
View File
@@ -3,7 +3,7 @@
#include <cmath> #include <cmath>
using namespace vde::mesh; using namespace vde::mesh;
using core::Point3D; using vde::Point3D;
// ── Helper: compute circumsphere center and radius of 4 points ── // ── Helper: compute circumsphere center and radius of 4 points ──
// Returns (center, radius_squared). If points are coplanar, radius_sq < 0. // 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 if (r2 < 0.0) continue; // degenerate
double r = std::sqrt(r2); double r = std::sqrt(r2);
(void)r; // explicitly unused, computed for potential debugging
for (const auto& pt : input_points) { for (const auto& pt : input_points) {
// Skip vertices of this tetrahedron // Skip vertices of this tetrahedron
double d2 = (pt - center).squaredNorm(); double d2 = (pt - center).squaredNorm();