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

@@ -116,6 +116,12 @@ glmc_rotate(mat4 m, float angle, vec3 axis) {
glm_rotate(m, angle, axis);
}
CGLM_EXPORT
void
glmc_rotate_at(mat4 model, vec3 pivot, float angle, vec3 axis) {
glm_rotate_at(model, pivot, angle, axis);
}
CGLM_EXPORT
void
glmc_decompose_scalev(mat4 m, vec3 s) {