コード例 #1
0
 public Vector3 GetVelocity(float t)
 {
     return(BezierCubic.GetFirstDerivative(V1, V2, V3, V4, t));
 }
コード例 #2
0
        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));
        }
コード例 #3
0
 public Vector3 GetPoint(float t)
 {
     return(BezierCubic.GetPoint(V1, V2, V3, V4, t));
 }
コード例 #4
0
        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));
        }