mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
swizzle support
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user