From: Wolfgang Bumiller Date: Tue, 12 Nov 2013 14:56:04 +0000 (+0100) Subject: vec3_pbool: or, not and X-Git-Tag: xonotic-v0.8.0~97 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=eee7d0aac1f89e15bbc16b04c6c2cd96de76f0fb;p=xonotic%2Fgmqcc.git vec3_pbool: or, not and --- diff --git a/fold.c b/fold.c index 735758c..eb7e8e6 100644 --- a/fold.c +++ b/fold.c @@ -160,7 +160,7 @@ static GMQCC_INLINE qcfloat_t vec3_notf(vec3_t a) { } static GMQCC_INLINE bool vec3_pbool(vec3_t a) { - return (a.x && a.y && a.z); + return (a.x || a.y || a.z); } static GMQCC_INLINE vec3_t vec3_cross(vec3_t a, vec3_t b) {