mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Update quat.h
fix typo
This commit is contained in:
@@ -233,7 +233,7 @@ glm_quat_normalize_to(const 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