diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-13 13:40:04 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-13 13:40:04 +0000 |
| commit | 125d04e51f4e444a38cf038d3ea095d92d3c6dbb (patch) | |
| tree | 2288bbe4b923ab4d695e9f852c177a12f74ea799 /src/game/mapres_col.h | |
| parent | 7be0ae1b2929a3c5dfedf542bce886deefa0f862 (diff) | |
| download | zcatch-125d04e51f4e444a38cf038d3ea095d92d3c6dbb.tar.gz zcatch-125d04e51f4e444a38cf038d3ea095d92d3c6dbb.zip | |
large rewrite and code cleanup
Diffstat (limited to 'src/game/mapres_col.h')
| -rw-r--r-- | src/game/mapres_col.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/mapres_col.h b/src/game/mapres_col.h index 2afad439..83690577 100644 --- a/src/game/mapres_col.h +++ b/src/game/mapres_col.h @@ -1,3 +1,4 @@ +#include <baselib/vmath.h> struct mapres_collision { @@ -8,3 +9,4 @@ struct mapres_collision 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); |