21 lines
428 B
C
21 lines
428 B
C
/*
|
|
各类滤波器。
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// 三次贝塞尔曲线,二维
|
|
void bezier_curve_3rd(const float p0[2], const float p1[2], const float p2[2], const float p3[2], float t, float out[2]);
|
|
|
|
// 三次贝塞尔曲线,三维
|
|
void bezier_curve_3rd_3d(const float p0[3], const float p1[3], const float p2[3], const float p3[3], float t, float out[3]);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|