Skip to content

Commit

Permalink
Merge pull request #11 from winduptoy/master
Browse files Browse the repository at this point in the history
Fixed GLM_QUAT_IDENTITY_INIT (wxyz) instead of (xyzw). Addresses #10.
  • Loading branch information
recp authored Dec 26, 2017
2 parents 63eaee5 + b797863 commit 034371c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cglm/quat.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
# include "simd/sse2/quat.h"
#endif

#define GLM_QUAT_IDENTITY_INIT {0.0f, 0.0f, 0.0f, 1.0f}
#define GLM_QUAT_IDENTITY (versor){0.0f, 0.0f, 0.0f, 1.0f}
#define GLM_QUAT_IDENTITY_INIT {1.0f, 0.0f, 0.0f, 0.0f}
#define GLM_QUAT_IDENTITY (versor){1.0f, 0.0f, 0.0f, 0.0f}

CGLM_INLINE
void
Expand Down

0 comments on commit 034371c

Please sign in to comment.