libgdx/libgdx — pull request #1523 by xoppa (2014-03-22 19:56:07+00:00)
Title: Simplify Intersector#intersectRaySphere

This projects the center of the sphere onto the ray (=the point on the ray closest to the center of the sphere). If the distance between this point on the ray and the center of the sphere is less than the radius, then there's an intersection. This also removes the tmp usage.