mat4 to quaternion

This commit is contained in:
Recep Aslantas
2018-04-07 19:46:46 +03:00
parent f5140ea005
commit 257c57d41f
10 changed files with 132 additions and 5 deletions

View File

@@ -62,6 +62,18 @@ glmc_mat4_mulv(mat4 m, vec4 v, vec4 dest) {
glm_mat4_mulv(m, v, dest);
}
CGLM_EXPORT
void
glmc_mat4_mulq(mat4 m, versor q, mat4 dest) {
glm_mat4_mulq(m, q, dest);
}
CGLM_EXPORT
void
glmc_mat4_quat(mat4 m, versor dest) {
glm_mat4_quat(m, dest);
}
CGLM_EXPORT
void
glmc_mat4_transpose_to(mat4 m, mat4 dest) {