mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 08:41:55 +00:00
fix identity quat initialization for C++ / Windows
This commit is contained in:
@@ -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