1 2 3 4 5 6 7
typedef struct { float pos[2]; float size[2]; float vel[2]; } Body; int checkcollision(Body *b1, Body *b2);