mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 20:34:58 +00:00
use epsilon to compare results in glm_uniscaled()
This commit is contained in:
@@ -425,7 +425,7 @@ bool
|
||||
glm_uniscaled(mat4 m) {
|
||||
CGLM_ALIGN(8) vec3 s;
|
||||
glm_decompose_scalev(m, s);
|
||||
return glm_vec3_eq_all(s);
|
||||
return glm_vec3_eq_eps(s);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user