mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
vec3_not: be consistent with compile-time behavior here
This commit is contained in:
parent
eee7d0aac1
commit
1d5229ee8c
1 changed files with 3 additions and 3 deletions
6
fold.c
6
fold.c
|
@ -123,9 +123,9 @@ static GMQCC_INLINE vec3_t vec3_xorvf(vec3_t a, qcfloat_t b) {
|
|||
|
||||
static GMQCC_INLINE vec3_t vec3_not(vec3_t a) {
|
||||
vec3_t out;
|
||||
out.x = (qcfloat_t)(~((qcint_t)a.x));
|
||||
out.y = (qcfloat_t)(~((qcint_t)a.y));
|
||||
out.z = (qcfloat_t)(~((qcint_t)a.z));
|
||||
out.x = -1-a.x;
|
||||
out.y = -1-a.y;
|
||||
out.z = -1-a.z;
|
||||
return out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue