swizzle support

This commit is contained in:
Recep Aslantas
2018-01-20 18:38:26 +03:00
parent 55d1e240a2
commit 090f940f50
3 changed files with 59 additions and 0 deletions

View File

@@ -54,6 +54,9 @@
#define glm__memzero(type, dest, size) glm__memset(type, dest, size, 0)
#define GLM_SHUFFLE4(z, y, x, w) (((z) << 6) | ((y) << 4) | ((x) << 2) | (w))
#define GLM_SHUFFLE3(z, y, x) (((z) << 4) | ((y) << 2) | (x))
#include "types.h"
#include "simd/intrin.h"