Add pad to macro
This commit is contained in:
parent
c0b40e4747
commit
758cb5bcec
@ -18,7 +18,8 @@
|
||||
#define addVector2(v0, v1, v2) \
|
||||
(v2)->vx = (v0)->vx + (v1)->vx, \
|
||||
(v2)->vy = (v0)->vy + (v1)->vy, \
|
||||
(v2)->vz = (v0)->vz + (v1)->vz \
|
||||
(v2)->vz = (v0)->vz + (v1)->vz, \
|
||||
(v2)->pad = (v0)->pad + (v1)->pad \
|
||||
|
||||
// substract vector
|
||||
#define subVector(v0, v1) \
|
||||
|
Loading…
Reference in New Issue
Block a user