Beispiel #1
0
 public Vector2 GetPoint(float t)
 {
     return(BezierType == Type.Cubic ?
            Bezier.GetPoint(_Points[0].Position, _Points[1].Position, _Points[2].Position, _Points[3].Position, t) :
            Bezier.GetPoint(_Points[0].Position, _Points[1].Position, _Points[2].Position, t));
 }