mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 02:25:02 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user