mirror of
https://github.com/recp/cglm.git
synced 2026-01-03 14:12:11 +00:00
align vec4/mat4 to 16 in typedef
This commit is contained in:
@@ -12,8 +12,10 @@
|
||||
|
||||
#if defined(_WIN32)
|
||||
# define CGLM_INLINE __forceinline
|
||||
# define CGLM_ALIGN(X) __declspec(align(X))
|
||||
#else
|
||||
# define CGLM_INLINE static inline __attribute((always_inline))
|
||||
# define CGLM_ALIGN(X) __attribute((aligned(X)))
|
||||
#endif
|
||||
|
||||
#define glm__memcpy(type, dest, src, size) \
|
||||
|
||||
Reference in New Issue
Block a user