mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
Fix some macro parenthesis issues.
This commit is contained in:
parent
d25f39cc7d
commit
6ace105e31
1 changed files with 2 additions and 2 deletions
|
@ -502,11 +502,11 @@ extern const vec_t *const quat_origin;
|
|||
QuatCompMult ((a) + 12, (b) + 12, (c) + 12); \
|
||||
} while (0)
|
||||
#define Mat4Zero(a) \
|
||||
memset (a, 0, 16 * sizeof a[0])
|
||||
memset ((a), 0, 16 * sizeof (a)[0])
|
||||
#define Mat4Identity(a) \
|
||||
do { \
|
||||
Mat4Zero (a); \
|
||||
a[15] = a[10] = a[5] = a[0] = 1; \
|
||||
(a)[15] = (a)[10] = (a)[5] = (a)[0] = 1; \
|
||||
} while (0)
|
||||
#define Mat4Expand(a) \
|
||||
QuatExpand ((a) + 0), \
|
||||
|
|
Loading…
Reference in a new issue