Exemple #1
0
 ///<summary>4-н цэгийн bezier-н муруй</summary>
 public static Vector3 CubicCurve(Vector3 a, Vector3 b, Vector3 c, Vector3 d, float t)
 {
     return(V3.Lerp(QuadraticCurve(a, b, c, t), QuadraticCurve(b, c, d, t), t));
 }
Exemple #2
0
 ///<summary>3-н цэгийн bezier-н муруй</summary>
 public static Vector3 QuadraticCurve(Vector3 a, Vector3 b, Vector3 c, float t)
 {
     return(V3.Lerp(V3.Lerp(a, b, t), V3.Lerp(b, c, t), t));
 }