New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
|
|
@ -106,7 +106,7 @@ static inline void vec2_neg(struct vec2 *dst, const struct vec2 *v)
|
|||
|
||||
static inline float vec2_dot(const struct vec2 *v1, const struct vec2 *v2)
|
||||
{
|
||||
return (v1->x+v2->x) * (v1->y+v2->y);
|
||||
return v1->x*v2->x + v1->y*v2->y;
|
||||
}
|
||||
|
||||
static inline float vec2_len(const struct vec2 *v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue