rename and cast mat4x4 id

This commit is contained in:
Recep Aslantas
2016-09-17 12:35:10 +03:00
parent 0b0a74e9bf
commit 6046d0cdde
2 changed files with 8 additions and 8 deletions

View File

@@ -12,10 +12,10 @@
#include "cglm-mat-simd.h"
#include <assert.h>
#define GLM_MAT_IDENTITY_4F {1.0f, 0.0f, 0.0f, 0.0f, \
0.0f, 1.0f, 0.0f, 0.0f, \
0.0f, 0.0f, 1.0f, 0.0f, \
0.0f, 0.0f, 0.0f, 1.0f}
#define GLM_MAT4_IDENTITY (mat4){1.0f, 0.0f, 0.0f, 0.0f, \
0.0f, 1.0f, 0.0f, 0.0f, \
0.0f, 0.0f, 1.0f, 0.0f, \
0.0f, 0.0f, 0.0f, 1.0f}
#define glm_mat4_mul_impl(l, r, d) \
do { \