ddnet/src/game/mapres_col.h

13 lines
217 B
C

#include <game/vmath.h>
struct mapres_collision
{
int width;
int height;
int data_index;
};
int col_init(int dividor);
int col_check_point(int x, int y);
bool col_intersect_line(vec2 pos0, vec2 pos1, vec2 *out);