private double positionToTime(float relativeYPosition) { double time = HitObjectContainer.TimeAtPosition(relativeYPosition, HitObject.StartTime); return(time - HitObject.StartTime); }
private double positionToDistance(float relativeYPosition) { double time = HitObjectContainer.TimeAtPosition(relativeYPosition, HitObject.StartTime); return((time - HitObject.StartTime) * HitObject.Velocity); }