mirror of
https://github.com/recp/cglm.git
synced 2025-12-25 12:55:04 +00:00
curve: cubic hermite intrpolation
This commit is contained in:
@@ -14,6 +14,12 @@ 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) {
|
||||
|
||||
Reference in New Issue
Block a user