Esempio n. 1
0
 public static Vector3 Evaluate(this QuadBezierV3 q, float t)
 {
     return(BezierUtil.Quad(q.start, q.control, q.end, t));
 }
 public static Vector2 Evaluate(this CubicBezierV2 q, float t)
 {
     return(BezierUtil.Cubic(q.start, q.startTangent, q.end, q.endTangent, t));
 }