mirror of https://github.com/zeldaret/oot.git
Add parens around params usage in VEC_SET macro
This commit is contained in:
parent
a9604e267f
commit
0b804ac087
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "ultra64.h"
|
||||
|
||||
#define VEC_SET(V,X,Y,Z) V.x=X;V.y=Y;V.z=Z
|
||||
#define VEC_SET(V,X,Y,Z) (V).x=(X);(V).y=(Y);(V).z=(Z)
|
||||
|
||||
typedef struct {
|
||||
f32 x, y;
|
||||
|
|
|
|||
Loading…
Reference in New Issue