mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-21 10:04:18 +00:00
16 lines
325 B
C
16 lines
325 B
C
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
|
|
#include <game/g_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);
|
|
int col_width();
|
|
int col_height();
|
|
bool col_intersect_line(vec2 pos0, vec2 pos1, vec2 *out);
|