Algorithms Intersections COLLISION DETECTION (Jeff Thompson) Ray-Box Intersection Algorithm INTERSECTION TESTS IN 2D AABB Intercetions line-box-intersection *.cpp https://jsfiddle.net/j7htk96n/ Computer Graphics OpenGL (CISC/CMPE 454 - Schedule & Notes) Computer Graphics & Imaging (berkeley.edu) | alt link