mirror of
https://github.com/g-truc/glm.git
synced 2025-04-05 05:25:02 +00:00
gna
This commit is contained in:
parent
4bb65eb075
commit
68224bcc00
1 changed files with 10 additions and 0 deletions
|
@ -67,11 +67,21 @@ struct my_ivec4_packed
|
|||
|
||||
GLM_STATIC_ASSERT(sizeof(my_ivec4_packed) == sizeof(glm::uint32) + sizeof(glm::ivec4), "glm::ivec4 packed is not correct");
|
||||
|
||||
#if GLM_COMPILER & GLM_COMPILER_CLANG
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wpadded"
|
||||
#endif
|
||||
|
||||
struct my_ivec4_aligned
|
||||
{
|
||||
glm::uint32 a;
|
||||
glm::aligned_ivec4 b;
|
||||
};
|
||||
|
||||
#if GLM_COMPILER & GLM_COMPILER_CLANG
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
GLM_STATIC_ASSERT(sizeof(my_ivec4_aligned) == sizeof(glm::aligned_ivec4) * 2, "glm::ivec4 aligned is not correct");
|
||||
|
||||
struct my_u8vec4_packed
|
||||
|
|
Loading…
Add table
Reference in a new issue