summaryrefslogtreecommitdiffstats
path: root/src/collision.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/collision.h')
-rw-r--r--src/collision.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/collision.h b/src/collision.h
index 02d93e3..ee04a8e 100644
--- a/src/collision.h
+++ b/src/collision.h
@@ -24,9 +24,9 @@
int db_pt_in_rect(int x, int y, SDL_Rect *rect) __attribute__((__pure__));
void db_closest_pt_on_rect(int x, int y, SDL_Rect *rect,
- int *close_x, int *close_y);
+ double *close_x, double *close_y);
int db_col_cir_rect(int x, int y, int r, SDL_Rect *rect,
- int *col_x, int *col_y);
+ double *col_x, double *col_y);
int db_col_cir_cir(double x1, double y1, double r1,
double x2, double y2, double r2) __attribute__((__const__));
int db_col_pt_cir_cir(double x1, double y1, double r1,