Merge pull request #88 from yushli/master

Update quat.h
This commit is contained in:
Recep Aslantas
2019-04-30 10:20:26 +03:00
committed by GitHub

View File

@@ -233,7 +233,7 @@ glm_quat_normalize_to(versor q, versor dest) {
dot = glm_vec4_norm2(q); dot = glm_vec4_norm2(q);
if (dot <= 0.0f) { if (dot <= 0.0f) {
glm_quat_identity(q); glm_quat_identity(dest);
return; return;
} }