Spline classes and utils for Unity