mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
fix identity quat initialization for C++ / Windows
This commit is contained in:
@@ -19,7 +19,8 @@
|
|||||||
CGLM_INLINE
|
CGLM_INLINE
|
||||||
void
|
void
|
||||||
glm_quat_identity(versor q) {
|
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
|
CGLM_INLINE
|
||||||
|
Reference in New Issue
Block a user