Added geometry tag (and not certain intersection theory is right)
Anuloid (Torus) x line intersection
I need calculate ray (line) intersection with torus for my ray-tracing program (I know, its to graphics, but i need math behind it).
I can solve equation of order x^4, but thats too way slow (Cardano's method). So is there better way, how to calculate this ?