fix fn calls

This commit is contained in:
Recep Aslantas
2016-09-17 12:50:45 +03:00
parent 6046d0cdde
commit d4c6ae350f

View File

@@ -54,13 +54,13 @@ glm_mat4_mul(mat4 m1, mat4 m2, mat4 dest) {
#if defined( __SSE__ ) || defined( __SSE2__ )
CGLM_MAT_MUL_SSE_4x4f(l, r, d);
#else
glm_mat_mul4_impl(l, r, d);
glm_mat4_mul_impl(l, r, d);
#endif
} else {
#if defined( __SSE__ ) || defined( __SSE2__ )
CGLM_MAT_MUL_SSE_4x4f(l, l, d);
#else
glm_mat_mul4_impl(l, l, d);
glm_mat4_mul_impl(l, l, d);
#endif
}
}
@@ -118,9 +118,9 @@ glm_mat4_transpose(mat4 m) {
#else
mat4 d;
glm_mat_transpose_to(m, d);
glm_mat4_transpose_to(m, d);
glm__memcpy(m, d, sizeof(mat4));
glm__memcpy(float, m, d, sizeof(mat4));
#endif
}