mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Adjust comment
This commit is contained in:
parent
7d6ab08bb3
commit
8b7ccdc8b5
@ -257,7 +257,7 @@ namespace osu.Game.Rulesets.Osu.Replays
|
|||||||
|
|
||||||
Vector2 lastPosition = lastFrame.Position;
|
Vector2 lastPosition = lastFrame.Position;
|
||||||
|
|
||||||
// Perform eased movement.
|
// Perform the rest of the eased movement until the target position is reached.
|
||||||
for (double time = lastFrame.Time + GetFrameDelay(lastFrame.Time); time < h.StartTime; time += GetFrameDelay(time))
|
for (double time = lastFrame.Time + GetFrameDelay(lastFrame.Time); time < h.StartTime; time += GetFrameDelay(time))
|
||||||
{
|
{
|
||||||
Vector2 currentPosition = Interpolation.ValueAt(time, lastPosition, targetPos, lastFrame.Time, h.StartTime, easing);
|
Vector2 currentPosition = Interpolation.ValueAt(time, lastPosition, targetPos, lastFrame.Time, h.StartTime, easing);
|
||||||
|
Loading…
Reference in New Issue
Block a user