diff options
author | jackpoz <giacomopoz@gmail.com> | 2020-02-23 22:07:40 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-22 12:21:58 +0100 |
commit | a5b4d0c53976119d561924143a465c9ab38ca8a8 (patch) | |
tree | 658ef8e5bd8d889d8b6cb5c6f3f4a01dc3932251 /src/common/Utilities/SFMTRand.cpp | |
parent | 865be2bdfacead73919ba68192e538c0e3a49d7e (diff) |
Core/Movement: Add support to cyclic splines to GenericMovementGenerator
GenericMovementGenerator sets the _duration to the return value of spline.Launch(). For cyclic splines, this is the duration of 1 single cycle, while the spline itself never ends.
To support this edge case in GenericMovementGenerator we just never update the _duration timer for cyclic splines.
(cherry picked from commit 7a57029d8fd46c0966eb32b17019291785e61f37)
Diffstat (limited to 'src/common/Utilities/SFMTRand.cpp')
0 files changed, 0 insertions, 0 deletions