Skip to content

cf_bezier

Category: math
GitHub: cute_math.h


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

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

CF_V2
cf_lerp_v2
cf_bezier2