This is done via a union. It must be enabled with GLM_SIMD_ENABLE_XYZW_UNION. A nameless struct/union warning in VC (C4201) is explicitly disabled with the "pragma warning(push/pop)" system. Allowing xyzw access makes it much easier to toggle between SIMD and non-SIMD builds.master
parent
560b474008
commit
87c90590be
1 changed files with 23 additions and 1 deletions
Loading…
Reference in New Issue