diff --git a/include/vde/sdf/sdf_operations.h b/include/vde/sdf/sdf_operations.h index 9e5522b..a28fc79 100644 --- a/include/vde/sdf/sdf_operations.h +++ b/include/vde/sdf/sdf_operations.h @@ -2,7 +2,6 @@ #include "vde/core/point.h" #include #include -#include namespace vde::sdf { diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f1df21e..0a8d63e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -106,19 +106,6 @@ target_link_libraries(vde_boolean PUBLIC vde_mesh vde_spatial vde_compile_options ) -# ── sdf ──────────────────────────────────────────── -add_library(vde_sdf STATIC - sdf/sdf_tree.cpp - sdf/sdf_to_mesh.cpp -) -target_include_directories(vde_sdf - PUBLIC ${CMAKE_SOURCE_DIR}/include - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} -) -target_link_libraries(vde_sdf - PUBLIC vde_core vde_compile_options -) - # ── collision ─────────────────────────────────────── add_library(vde_collision STATIC collision/gjk.cpp diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3fb9807..41fd7d9 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -14,5 +14,3 @@ add_subdirectory(boolean) add_subdirectory(brep) add_subdirectory(sdf) add_subdirectory(sketch) -add_subdirectory(sdf) -add_subdirectory(sdf) diff --git a/tests/sdf/test_sdf_tree.cpp b/tests/sdf/test_sdf_tree.cpp index c8f422c..06ae50c 100644 --- a/tests/sdf/test_sdf_tree.cpp +++ b/tests/sdf/test_sdf_tree.cpp @@ -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 ────────────────────────────────────────────