Skip to content

Commit

Permalink
various runtime improvements and sor for GS
Browse files Browse the repository at this point in the history
  • Loading branch information
over0219 committed Feb 7, 2018
1 parent 3d781c0 commit cafa785
Show file tree
Hide file tree
Showing 11 changed files with 60 additions and 17,988 deletions.
11 changes: 1 addition & 10 deletions CMakeLists.txt
Expand Up @@ -84,16 +84,7 @@ set( RENDER_LIBS
#
############################################################

add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/samples )

enable_testing()

add_executable(test_lineartet samples/tests/test_lineartet.cpp)
target_link_libraries(test_lineartet admmelastic)
add_test(test_lineartet test_lineartet)

add_executable(test_ncmcgs samples/tests/test_ncmcgs.cpp)
target_link_libraries(test_ncmcgs admmelastic)
add_test(test_ncmcgs test_ncmcgs)
add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/samples )


1 change: 1 addition & 0 deletions README.md
Expand Up @@ -22,6 +22,7 @@ Todo:
- [Stable Neo-Hookean](http://graphics.pixar.com/library/StableElasticity)
- Slide constraints
- Bending force
- 1D reduction matrix with nx3 vars (x and v)
- Demos from SCA/TVCG papers
- More unit tests

Expand Down
2 changes: 1 addition & 1 deletion samples/CMakeLists.txt
Expand Up @@ -2,4 +2,4 @@
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/utils)
add_subdirectory(sca2016)
add_subdirectory(tvcg2017)

add_subdirectory(tests)
4 changes: 4 additions & 0 deletions samples/tests/CMakeLists.txt
@@ -0,0 +1,4 @@

add_executable(test_lineartet test_lineartet.cpp)
target_link_libraries(test_lineartet admmelastic)
add_test(test_lineartet test_lineartet)

0 comments on commit cafa785

Please sign in to comment.