Lesson 2: Triangle rasterization and back face culling
1.实现画三角形voidtriangle(Vec2it0,Vec2it1,Vec2it2,TGAImage&image,TGAColorcolor){line(t0,t1,image,color);line(t1,t2,image,color);line(t2,t0,image,color);}//...Vec2it0[3]={Vec2i(10,70),Vec2i(50,160),Vec2i(70