mirror of
https://github.com/recp/cglm.git
synced 2026-01-06 07:04:07 +00:00
win: fix glms_quat_imagn if use struct option is disabled
This commit is contained in:
@@ -251,7 +251,7 @@ CGLM_INLINE
|
|||||||
vec3s
|
vec3s
|
||||||
glms_quat_imagn(versors q) {
|
glms_quat_imagn(versors q) {
|
||||||
vec3s dest;
|
vec3s dest;
|
||||||
glm_normalize_to(q.imag.raw, dest.raw);
|
glm_normalize_to(q.raw, dest.raw);
|
||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user