Hi i have to use this code ina project of mine - where i check for the collision of a ball and a rectangle.
function collision(b,p){
// b is ball p is