public Vector3 GetVelocity(float t)
 {
     return(BezierCubic.GetFirstDerivative(V1, V2, V3, V4, t));
 }
        public Vector3 GetVelocity(float t)
        {
            int i = GetStartingIndex(ref t);

            return(BezierCubic.GetFirstDerivative(points[i], points[i + 1], points[i + 2], points[i + 3], t));
        }
 public Vector3 GetPoint(float t)
 {
     return(BezierCubic.GetPoint(V1, V2, V3, V4, t));
 }
        public Vector3 GetPoint(float t)
        {
            int i = GetStartingIndex(ref t);

            return(BezierCubic.GetPoint(points[i], points[i + 1], points[i + 2], points[i + 3], t));
        }