mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
vec: fix assignment op
This commit is contained in:
@@ -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