title: Set of efficient 3D intersection algorithms
body: <p>Anyone knows a source, website where I can get some good implementations of 3D intersection algorithms, like</p>
  
  <ul>
  <li>intersection of sphere and sphere</li>
  <li>sphere/ellipsoid</li>
  <li>sphere/cuboid</li>
  <li>ellipsoid/ellipsoid</li>
  <li>ellipsoid/cuboid</li>
  <li>cuboid/cuboid</li>
  <li>sphere/ray</li>
  <li>ellipsoid/ray</li>
  <li>cuboid/ray</li>
  <li>triangle/ray</li>
  <li>quad/ray</li>
  <li>triangle/triangle</li>
  <li>quad/quad</li>
  </ul>