diff options
Diffstat (limited to 'libs/cglm/src/bezier.c')
-rw-r--r-- | libs/cglm/src/bezier.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libs/cglm/src/bezier.c b/libs/cglm/src/bezier.c new file mode 100644 index 0000000..21e6495 --- /dev/null +++ b/libs/cglm/src/bezier.c @@ -0,0 +1,27 @@ +/* + * Copyright (c), Recep Aslantas. + * + * MIT License (MIT), http://opensource.org/licenses/MIT + * Full license can be found in the LICENSE file + */ + +#include "../include/cglm/cglm.h" +#include "../include/cglm/call.h" + +CGLM_EXPORT +float +glmc_bezier(float s, float p0, float c0, float c1, float p1) { + return glm_bezier(s, p0, c0, c1, p1); +} + +CGLM_EXPORT +float +glmc_hermite(float s, float p0, float t0, float t1, float p1) { + return glm_hermite(s, p0, t0, t1, p1); +} + +CGLM_EXPORT +float +glmc_decasteljau(float prm, float p0, float c0, float c1, float p1) { + return glm_decasteljau(prm, p0, c0, c1, p1); +} |