add bezier helpers

This commit is contained in:
Recep Aslantas
2019-01-28 15:32:24 +03:00
parent b0e48a56ca
commit 730cb1e9f7
7 changed files with 143 additions and 1 deletions

15
src/bezier.c Normal file
View File

@@ -0,0 +1,15 @@
/*
* 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);
}