mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
Merge pull request #65 from sinisterchipmunk/fix-versor-alignment
fix versor alignment
This commit is contained in:
@@ -286,7 +286,7 @@ glm_quat_conjugate(versor q, versor dest) {
|
||||
CGLM_INLINE
|
||||
void
|
||||
glm_quat_inv(versor q, versor dest) {
|
||||
CGLM_ALIGN(8) versor conj;
|
||||
CGLM_ALIGN(16) versor conj;
|
||||
glm_quat_conjugate(q, conj);
|
||||
glm_vec4_scale(conj, 1.0f / glm_vec4_norm2(q), dest);
|
||||
}
|
||||
|
Reference in New Issue
Block a user