implement rotate_at

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

No files matched your search

+6
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) {