diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-28 03:16:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-28 03:16:33 +0400 |
commit | 2cd0b3f06470f2cb972dc626b5346f56abd67096 (patch) | |
tree | 1dc810944ff7783e6b5772bf6d379b74e22334df /intern/iksolver/extern/IK_solver.h | |
parent | f23bfdfab41e3824d5dc04b27f6509eae02da7f2 (diff) |
defines to make it easier to manage ik stretch constants (these may need to be tweaked to fix [#32174])
Diffstat (limited to 'intern/iksolver/extern/IK_solver.h')
-rw-r--r-- | intern/iksolver/extern/IK_solver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/iksolver/extern/IK_solver.h b/intern/iksolver/extern/IK_solver.h index 7f780a0a17f..a3f599e06c8 100644 --- a/intern/iksolver/extern/IK_solver.h +++ b/intern/iksolver/extern/IK_solver.h @@ -163,6 +163,9 @@ float IK_SolverGetPoleAngle(IK_Solver *solver); int IK_Solve(IK_Solver *solver, float tolerance, int max_iterations); +#define IK_STRETCH_STIFF_EPS 0.001f +#define IK_STRETCH_STIFF_MIN 0.001f +#define IK_STRETCH_STIFF_MAX 1e10 #ifdef __cplusplus } |