donut.c

i wonder where the mistake is in here, i've read over https://www.a1k0n.net/2011/07/20/donut-math.html and thought i'd give it a try, but without magic transformation matrices and with some resemblance to a proper pipeline. the result i get looks somewhat like a torus, but not really one https://gist.github.com/rossiyareich/286b387a2bdfb59eeada23bdb59e7be9
unknown.png
Gist
GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?