Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorover0219 <over0219@umn.edu>2020-07-09 22:42:20 +0300
committerover0219 <over0219@umn.edu>2020-07-09 22:42:20 +0300
commit14a76718e5e0d16c87e45f27f20a31aebe1e19e6 (patch)
tree8e365dd4c354f774a092acbf01f5ba00f4e7d8ea /extern/softbody/src/admmpd_solver.h
parentb650bdc5ecfca7357cbd4cc1f0f5b2279db91a9c (diff)
added goal positions
Diffstat (limited to 'extern/softbody/src/admmpd_solver.h')
-rw-r--r--extern/softbody/src/admmpd_solver.h9
1 files changed, 7 insertions, 2 deletions
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,