/// <summary> /// Creates a new CSpline. /// </summary> static public CSpline CSpline(bool inbLooped, List <CSplineVertex> inVertices) { CSpline spline = new CSpline(inVertices.Count); spline.SetAsCSpline(); spline.SetLooped(inbLooped); spline.SetVertices(inVertices); return(spline); }
/// <summary> /// Creates a new CSpline. /// </summary> static public CSpline CSpline(bool inbLooped, params CSplineVertex[] inVertices) { CSpline spline = new CSpline(inVertices.Length); spline.SetAsCSpline(); spline.SetLooped(inbLooped); spline.SetVertices(inVertices); return(spline); }