Indeed, and physics engines in games often have to deal with capsules, convex hulls and per-poly collision as well, not just spheres, planes and boxes.
Not to discount the effort involved here though; it's pretty impressive, I know I couldn't write this without a lot of mental effort.