mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
subtracting != adding
This commit is contained in:
parent
de14d514f3
commit
6ea88c9a3f
1 changed files with 3 additions and 3 deletions
6
fold.c
6
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue