mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:33:20 +08:00
Add generation comment
This commit is contained in:
parent
f2b940f930
commit
0ff1c6184b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user