1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 06:52:55 +08:00

Add generation comment

This commit is contained in:
smoogipoo 2019-08-01 17:36:20 +09:00
parent f2b940f930
commit 0ff1c6184b

View File

@ -118,6 +118,7 @@ namespace osu.Game.Rulesets.Objects
if (d >= length - minDistanceFromEnd)
break;
// Always generate ticks from the start of the path rather than the span to ensure that ticks in repeat spans are positioned identically to those in non-repeat spans
var pathProgress = d / length;
var timeProgress = reversed ? 1 - pathProgress : pathProgress;