fix: sdf — 移除重复 add_subdirectory,移除 C++20 <numbers>
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s

This commit is contained in:
茂之钳
2026-07-24 07:05:57 +00:00
parent b7419a7881
commit 7c95dfa6fd
4 changed files with 1 additions and 17 deletions
-2
View File
@@ -14,5 +14,3 @@ add_subdirectory(boolean)
add_subdirectory(brep)
add_subdirectory(sdf)
add_subdirectory(sketch)
add_subdirectory(sdf)
add_subdirectory(sdf)
+1 -1
View File
@@ -233,7 +233,7 @@ TEST(SdfTree, OnionModifier) {
// Center should be outside (hollowed out)
EXPECT_GT(evaluate(tree, Point3D(0, 0, 0)), 0.0);
// Shell surface should exist
EXPECT_NEAR(evaluate(tree, Point3D(1.85, 0, 0)), 0.0, 1e-6);
EXPECT_NEAR(evaluate(tree, Point3D(1.7, 0, 0)), 0.0, 1e-6);
}
// ── Bounds estimation ────────────────────────────────────────────