curve: cubic hermite intrpolation

This commit is contained in:
Recep Aslantas
2019-01-29 22:17:44 +03:00
parent 1e121a4855
commit 7848dda1dd
7 changed files with 102 additions and 12 deletions

View File

@@ -17,6 +17,10 @@ CGLM_EXPORT
float
glmc_bezier(float s, float p0, float c0, float c1, float p1);
CGLM_EXPORT
float
glmc_hermite(float s, float p0, float t0, float t1, float p1);
CGLM_EXPORT
float
glmc_decasteljau(float prm, float p0, float c0, float c1, float p1);