implement rotate_at

This commit is contained in:
Recep Aslantas
2018-04-17 11:12:18 +03:00
parent a2792178db
commit c63c6c90ac
3 changed files with 32 additions and 2 deletions

View File

@@ -85,6 +85,10 @@ CGLM_EXPORT
void
glmc_rotate(mat4 m, float angle, vec3 axis);
CGLM_EXPORT
void
glmc_rotate_at(mat4 model, vec3 pivot, float angle, vec3 axis);
CGLM_EXPORT
void
glmc_decompose_scalev(mat4 m, vec3 s);