mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
28 lines
607 B
C
28 lines
607 B
C
/*
|
|
* 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);
|
|
}
|