diff options
| author | Jacob Palecki <[email protected]> | 2021-04-06 18:04:28 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-04-06 18:04:28 -0700 |
| commit | 758de1d236f591de1d8b2fba4c58bfd8d5bbd26e (patch) | |
| tree | b44ae5415e603e351d4343e737a10d2a92e47276 /common/accel-motivity.hpp | |
| parent | Remove cap and offset style switches (diff) | |
| download | rawaccel-758de1d236f591de1d8b2fba4c58bfd8d5bbd26e.tar.xz rawaccel-758de1d236f591de1d8b2fba4c58bfd8d5bbd26e.zip | |
Rename accelMotivity to growthRate
Diffstat (limited to 'common/accel-motivity.hpp')
| -rw-r--r-- | common/accel-motivity.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/accel-motivity.hpp b/common/accel-motivity.hpp index 0c15598..c7ecb13 100644 --- a/common/accel-motivity.hpp +++ b/common/accel-motivity.hpp @@ -13,7 +13,7 @@ namespace rawaccel { double constant; sigmoid(const accel_args& args) : - accel(exp(args.accel_motivity)), + accel(exp(args.growth_rate)), motivity(2 * log(args.motivity)), midpoint(log(args.midpoint)), constant(-motivity / 2) {} |