From 6ea88c9a3f4c95d65784fee096bd954c3b8b2118 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 12 Nov 2013 14:31:11 +0100 Subject: [PATCH] subtracting != adding --- fold.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.2