mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
13 lines
247 B
C
13 lines
247 B
C
#include <baselib/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(baselib::vec2 pos0, baselib::vec2 pos1, baselib::vec2 *out);
|