From: Wolfgang Bumiller Date: Tue, 12 Nov 2013 13:31:11 +0000 (+0100) Subject: subtracting != adding X-Git-Tag: xonotic-v0.8.0~99 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6ea88c9a3f4c95d65784fee096bd954c3b8b2118;p=xonotic%2Fgmqcc.git subtracting != adding --- diff --git a/fold.c b/fold.c index 0128dec..cd827bc 100644 --- a/fold.c +++ b/fold.c @@ -59,9 +59,9 @@ static GMQCC_INLINE vec3_t vec3_add(vec3_t a, vec3_t b) { static GMQCC_INLINE vec3_t vec3_sub(vec3_t a, vec3_t b) { vec3_t out; - out.x = a.x + b.x; - out.y = a.y + b.y; - out.z = a.z + b.z; + out.x = a.x - b.x; + out.y = a.y - b.y; + out.z = a.z - b.z; return out; }