labyrinth
diff src/level.c @ 1:d46f0947a96d
added helpful comment
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 06 Feb 2015 00:34:04 +0200 |
parents | 8ba79034e8a6 |
children | c8826e5ebec1 |
line diff
1.1 --- a/src/level.c Thu Jan 15 14:59:38 2015 +0200 1.2 +++ b/src/level.c Fri Feb 06 00:34:04 2015 +0200 1.3 @@ -149,6 +149,7 @@ 1.4 return 0; 1.5 } 1.6 1.7 +/* NOTE: this function could be simpler */ 1.8 int level_collide(struct level *lvl, float rad, float x, float y, float *dxp, float *dyp) 1.9 { 1.10 int i, val, cxy[2], collided = 0;