#ifndef _DEF_VEC
#define _DEF_VEC
typedef struct Vec
{
float x;
float y;
} Vec;
/* apply a force on a vector */
void vec_add(Vec *vector, Vec force);
/* apply the opposite of a force on a vector */
void vec_sub(Vec *vector, Vec force);
#endif