matrix: make accurate inv version default

* now the glm_mat4_inv_precise is deault, because I don't think all people are aware of this func
* the old behavior (fast) replaced with new func: glm_mat4_inv_fast

if fast version is desired then glm_mat4_inv_fast must be used.
This commit is contained in:
Recep Aslantas
2017-12-17 15:49:00 +03:00
parent 33fefb9454
commit 4052943a0d
5 changed files with 20 additions and 18 deletions

View File

@@ -70,8 +70,8 @@ test_mat4(void **state) {
test_rand_mat4(m3);
test_rand_mat4(m4);
glm_mat4_inv(m3, m4);
glm_mat4_inv(m4, m5);
glm_mat4_inv_fast(m3, m4);
glm_mat4_inv_fast(m4, m5);
test_assert_mat4_eq2(m3, m5, 0.0009f);
test_rand_mat4(m3);