mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
vec3_pbool: or, not and
This commit is contained in:
parent
de12a24bc9
commit
eee7d0aac1
1 changed files with 1 additions and 1 deletions
2
fold.c
2
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) {
|
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) {
|
static GMQCC_INLINE vec3_t vec3_cross(vec3_t a, vec3_t b) {
|
||||||
|
|
Loading…
Reference in a new issue