mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Compare commits
4 Commits
revert-86-
...
v0.5.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63e60f46f3 | ||
|
|
f28260e20b | ||
|
|
d232ab7865 | ||
|
|
e3b52100e3 |
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user