vec3_pbool: or, not and

This commit is contained in:
Wolfgang Bumiller 2013-11-12 15:56:04 +01:00
parent de12a24bc9
commit eee7d0aac1

2
fold.c
View file

@ -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) {