surround macro values with parentheses

This commit is contained in:
Recep Aslantas
2018-02-18 11:16:03 +03:00
parent 681a74b39c
commit c1c659489a
5 changed files with 13 additions and 13 deletions

View File

@@ -45,8 +45,8 @@
/* for C only */
#define GLM_MAT3_IDENTITY (mat3)GLM_MAT3_IDENTITY_INIT
#define GLM_MAT3_ZERO (mat3)GLM_MAT3_ZERO_INIT
#define GLM_MAT3_IDENTITY ((mat3)GLM_MAT3_IDENTITY_INIT)
#define GLM_MAT3_ZERO ((mat3)GLM_MAT3_ZERO_INIT)
/* DEPRECATED! use _copy, _ucopy versions */
#define glm_mat3_dup(mat, dest) glm_mat3_copy(mat, dest)