curve.h 239 B

1234567891011
  1. #ifndef CURVE_H_
  2. #define CURVE_H_
  3. typedef void(*curve_function)(float t, float *x, float *y);
  4. void curve_color(float r, float g, float b, float a);
  5. void curve_draw(curve_function func, float t_begin, float t_end, float t_step);
  6. #endif