Skip to content

Commit

Permalink
Use APIv2 to simplify the triangle intersection example
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Apr 9, 2024
1 parent 466efb7 commit 5519ff5
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 358 deletions.
1 change: 0 additions & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ add_subdirectory(callback)
add_subdirectory(dbscan)
add_subdirectory(molecular_dynamics)
add_subdirectory(simple_intersection)

add_subdirectory(triangle_intersection)

find_package(Boost COMPONENTS program_options)
Expand Down
5 changes: 0 additions & 5 deletions examples/triangle_intersection/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
add_executable(ArborX_Example_TriangleIntersection.exe triangle_intersection.cpp)
target_link_libraries(ArborX_Example_TriangleIntersection.exe ArborX::ArborX)
add_test(NAME ArborX_Example_TriangleIntersection COMMAND ArborX_Example_TriangleIntersection.exe)

add_executable(ArborX_Example_TriangleIntersectionWithMapping.exe triangle_intersection.cpp)
target_link_libraries(ArborX_Example_TriangleIntersectionWithMapping.exe ArborX::ArborX)
target_compile_definitions(ArborX_Example_TriangleIntersectionWithMapping.exe PRIVATE PRECOMPUTE_MAPPING)
add_test(NAME ArborX_Example_TriangleIntersectionWithMapping COMMAND ArborX_Example_TriangleIntersectionWithMapping.exe)

0 comments on commit 5519ff5

Please sign in to comment.