diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/qcommon/q_shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h index 9d15d9c5..e1533b92 100644 --- a/src/qcommon/q_shared.h +++ b/src/qcommon/q_shared.h @@ -558,6 +558,8 @@ typedef struct { (v)[1] = (int)(v)[1],\ (v)[2] = (int)(v)[2] ) +#define Byte4Copy(a,b) ((b)[0]=(a)[0],(b)[1]=(a)[1],(b)[2]=(a)[2],(b)[3]=(a)[3]) + // just in case you do't want to use the macros vec_t _DotProduct( const vec3_t v1, const vec3_t v2 ); void _VectorSubtract( const vec3_t veca, const vec3_t vecb, vec3_t out ); |