Skip to content

cf_bezier2

Category: math
GitHub: cute_math.h


Returns a point along a cubic bezier curve according to time t.

CF_V2 cf_bezier2(CF_V2 a, CF_V2 c0, CF_V2 c1, CF_V2 b, float t)
Parameters Description
a The start point.
c0 A control point.
c1 A control point.
b The end point.
t A position along the curve.

CF_V2
cf_lerp_v2
cf_bezier