mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 10:17:13 -06:00
fix identity quat initialization for C++ / Windows
This commit is contained in:
1 parent
24ab1ff621
commit
e7f35704ca
1 file changed
+2
-1
+2
-1
@@ -19,7 +19,8 @@
|
||||
CGLM_INLINE
|
||||
void
|
||||
glm_quat_identity(versor q) {
|
||||
glm_vec4_copy(GLM_QUAT_IDENTITY, q);
|
||||
versor v = GLM_QUAT_IDENTITY_INIT;
|
||||
glm_vec4_copy(v, q);
|
||||
}
|
||||
|
||||
CGLM_INLINE
|
||||
|
||||
Reference in new issue
Block a user