implement rotate_at for quat and provide make version

This commit is contained in:
Recep Aslantas committed 2018-04-17 12:17:04 +03:00
1 parent c63c6c90ac
commit 33e951fe2e
6 files changed
+121 -7

No files matched your search

+8 -2
View File
@@ -118,8 +118,14 @@ glmc_rotate(mat4 m, float angle, vec3 axis) {
CGLM_EXPORT
void
glmc_rotate_at(mat4 model, vec3 pivot, float angle, vec3 axis) {
glm_rotate_at(model, pivot, angle, axis);
glmc_rotate_at(mat4 m, vec3 pivot, float angle, vec3 axis) {
glm_rotate_at(m, pivot, angle, axis);
}
CGLM_EXPORT
void
glmc_rotate_atm(mat4 m, vec3 pivot, float angle, vec3 axis) {
glm_rotate_atm(m, pivot, angle, axis);
}
CGLM_EXPORT