本教程的参考资料:

https://github.com/ssloy/tinyrenderer/wiki/Lesson-0:-getting-started


【0】导入库

【1】画线

【2】画三角形

【3】深度测试