diff --git a/CMakeLists.txt b/CMakeLists.txt index e517604..6466210 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,18 +1,5 @@ cmake_minimum_required(VERSION 3.14) project (godot-sandbox-programs) -option(USE_MOLD "Build with MOLD" OFF) -option(STRIPPED "Strip executables" OFF) - -if (${CMAKE_C_COMPILER} MATCHES "riscv64-unknown-elf*") - set(EMBEDDED_RISCV 1) - message(STATUS "Building for embedded RISC-V") -elseif (${CMAKE_C_COMPILER} MATCHES "zig") - set(ZIG_COMPILER 1) - message(STATUS "Building using zig c++") - add_library(atomic STATIC "${CMAKE_SOURCE_DIR}/ext/atomic.c") - link_directories("${CMAKE_BINARY_DIR}") -endif() - add_subdirectory(ext) add_subdirectory(programs) diff --git a/ext/godot-sandbox b/ext/godot-sandbox index 6c2e666..36b1817 160000 --- a/ext/godot-sandbox +++ b/ext/godot-sandbox @@ -1 +1 @@ -Subproject commit 6c2e6663fd9a658aa8773f7b0689c76ce3b4246e +Subproject commit 36b18177ca57a39e541dca76fd81c9883fc82257 diff --git a/programs/robust_skin_weight_transfer/robust_weight_transfer.cpp b/programs/robust_skin_weight_transfer/robust_weight_transfer.cpp index f2fd8bf..0be3631 100644 --- a/programs/robust_skin_weight_transfer/robust_weight_transfer.cpp +++ b/programs/robust_skin_weight_transfer/robust_weight_transfer.cpp @@ -429,7 +429,7 @@ bool test_inpaint() { 0.0357143 , 0.964286; Eigen::MatrixXd W_inpainted(4, 2); - + bool success = inpaint(V2, F2, W2, Matched, W_inpainted); std::cout << "Inpainted Weights:\n" << W_inpainted << std::endl; std::cout << "Expected Inpainted Weights:\n" << expected_W_inpainted << std::endl; @@ -890,10 +890,10 @@ static Variant run_tests() { } if (all_tests_passed) { std::cout << "All tests passed!" << std::endl; - return Variant(0); + return 0; } else { std::cerr << "Some tests failed." << std::endl; - return Variant(1); + return 1; } }