vec4: helper to fill vec4 as [S^3, S^2, S, 1]

This commit is contained in:
Recep Aslantas
2019-01-26 15:54:10 +03:00
parent fc7f958167
commit 59b9e54879
3 changed files with 29 additions and 0 deletions

View File

@@ -206,6 +206,12 @@ glmc_vec4_lerp(vec4 from, vec4 to, float t, vec4 dest) {
glm_vec4_lerp(from, to, t, dest);
}
CGLM_EXPORT
void
glmc_vec4_cubic(float s, vec4 dest) {
glm_vec4_cubic(s, dest);
}
/* ext */
CGLM_EXPORT