Bezier
Defines
-
BINOCLE_BEZIER_STEPS
Functions
-
void binocle_bezier_table(kmVec2 P[4], kmVec2 results[BINOCLE_BEZIER_STEPS + 1])
Initialized a bezier curves table.
- Parameters:
P –
results –
-
float binocle_bezier_value(float dt01, float P[4])
Evaluates the value of a bezier curve at a point in time.
- Parameters:
dt01 – the point in time [0..1]
P – the curve parameters
- Returns:
the evaluated value