bezier
Samples a single point based on the provided t value from given 3D cubic Bézier curve.
Return
A sample on the curve.
Parameters
x0
The starting anchor point of the curve.
c0
The first control point.
c1
The second control point.
x1
The ending anchor point of the curve.
t
The value of t in the range of 0.0
to 1.0
.