mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 12:32:40 +00:00
mat2: suppress warnings for initializing mat2 sruct
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
#include "../types-struct.h"
|
||||
#include "../mat2.h"
|
||||
|
||||
#define GLMS_MAT2_IDENTITY_INIT {1.0f, 0.0f, 0.0f, 1.0f}
|
||||
#define GLMS_MAT2_ZERO_INIT {0.0f, 0.0f, 0.0f, 0.0f}
|
||||
#define GLMS_MAT2_IDENTITY_INIT {GLM_MAT2_IDENTITY_INIT}
|
||||
#define GLMS_MAT2_ZERO_INIT {GLM_MAT2_ZERO_INIT}
|
||||
|
||||
/* for C only */
|
||||
#define GLMS_MAT2_IDENTITY ((mat3s)GLMS_MAT2_IDENTITY_INIT)
|
||||
|
||||
Reference in New Issue
Block a user