Original Post
Just out of curiosity, what is an easy way to generate the triangle mesh for a torus of specified inner and outer radi and the number of splits around the edges? I''v been playing around in OpenGL demos and wrote a sphere generation thingy, but toruses (tori?) seem kinda fun too. Thanks in advance.
Life would be so much easier if we could just get the source code.