I need to implement a fast function for detecting collision between a square and circle ... it is also given that square is also axis(X-Y) aligned ..
The center of the circle , square , and the side of the square are known.
The method which is currently use .. (checking all corners and distance between centers) is a bit slow ..
Can any 1 help ?
Even a small suggestion would do .