From 14a76718e5e0d16c87e45f27f20a31aebe1e19e6 Mon Sep 17 00:00:00 2001 From: over0219 Date: Thu, 9 Jul 2020 14:42:20 -0500 Subject: added goal positions --- extern/softbody/src/admmpd_solver.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'extern/softbody/src/admmpd_solver.h') diff --git a/extern/softbody/src/admmpd_solver.h b/extern/softbody/src/admmpd_solver.h index dc94bedd5a4..0344122f0b5 100644 --- a/extern/softbody/src/admmpd_solver.h +++ b/extern/softbody/src/admmpd_solver.h @@ -6,6 +6,7 @@ #include "admmpd_types.h" #include "admmpd_collision.h" +#include "admmpd_pin.h" namespace admmpd { @@ -24,10 +25,12 @@ public: // Solve a single time step. // Returns number of iterations. // Collision ptr can be null. + // Pin ptr can be null int solve( const Options *options, SolverData *data, - Collision *collision); + Collision *collision, + Pin *pin); protected: @@ -38,7 +41,9 @@ protected: void init_solve( const Options *options, - SolverData *data); + SolverData *data, + Collision *collision, + Pin *pin); void solve_local_step( const Options *options, -- cgit v1.2.3