// Copyright (c) 2007-2018 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using OpenTK; namespace osu.Game.Rulesets.Objects { public readonly struct LinearApproximator : IApproximator { public List Approximate(ReadOnlySpan controlPoints) { var result = new List(controlPoints.Length); foreach (var c in controlPoints) result.Add(c); return result; } } }