Implement hit calculation