mirror of
https://github.com/recp/cglm.git
synced 2026-11-21 10:43:10 -06:00
vec: fix assignment op
This commit is contained in:
1 parent
880df2cad6
commit
072ccf5d63
1 file changed
+1
-1
+1
-1
@@ -357,7 +357,7 @@ glm_vec4_normalize_to(vec4 vec, vec4 dest) {
|
|||||||
norm = glm_vec4_norm(vec);
|
norm = glm_vec4_norm(vec);
|
||||||
|
|
||||||
if (norm == 0.0f) {
|
if (norm == 0.0f) {
|
||||||
dest[0] = dest[1] = dest[2] = dest[3] == 0.0f;
|
dest[0] = dest[1] = dest[2] = dest[3] = 0.0f;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user