4 ms·
Cute. Most of the work is done in function "triangle" in [1]. 33 lines of code which do, somewhat slowly, what GPUs do rapidly. [1] https://github.com/ssloy/
by Animats 10y ago
Cute. Most of the work is done in function "triangle" in [1]. 33 lines of code which do, somewhat slowly, what GPUs do rapidly.
[1] https://github.com/ssloy/tinyrenderer/blob/master/our_gl.cpp https://github.com/ssloy/tinyrenderer/blob/master/our_gl.cpp