mirror of
https://github.com/recp/cglm.git
synced 2026-11-20 02:33:10 -06:00
Update affine.h
This commit is contained in:
1 parent
5bda762df6
commit
6626d2b74f
1 file changed
+1
-1
@@ -425,7 +425,7 @@ bool
|
|||||||
glm_uniscaled(mat4 m) {
|
glm_uniscaled(mat4 m) {
|
||||||
CGLM_ALIGN(8) vec3 s;
|
CGLM_ALIGN(8) vec3 s;
|
||||||
glm_decompose_scalev(m, s);
|
glm_decompose_scalev(m, s);
|
||||||
return glm_vec3_eq_eps(s);
|
return glm_vec3_eq_eps(s, s[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
Reference in new issue
Block a user