Beispiel #1
0
    public static List <Vector3> PathSmoothing(List <Vector3> path, int level)
    {
        //Interpolation with the Catmull-Rom spline
        CatmullRom catmullRomInstance = new CatmullRom(path, SpaceGraph.GetLevelSideLength(level));

        return(catmullRomInstance.GetSplineCall());
    }