move: fix move_asymptotic_simple for new scheduling behavior

This commit is contained in:
Andrei Alexeyev 2023-01-06 04:09:07 +01:00
parent 8550018f2c
commit ce23576c17
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -42,7 +42,7 @@ INLINE MoveParams move_asymptotic_halflife(cmplx vel0, cmplx vel1, double halfli
INLINE MoveParams move_asymptotic_simple(cmplx vel, double boost_factor) {
// NOTE: this matches the old asymptotic rule semantics exactly
double retention = 0.8;
return move_asymptotic(vel * (1 + boost_factor * retention), vel, retention);
return move_asymptotic(vel * (1 + boost_factor), vel, retention);
}
INLINE MoveParams move_towards(cmplx target, cmplx attraction) {