Trying to make a 3D renderer, First step on the list is the drawing solid triangles, next is some anti-aliasing to make lines smooth Basically what I have here is a line drawing algorithm times 3 to make a triangle. It still has some bit of unwanted things like lines overshooting, but it is a decent prototype to start with.
Thank you wikipedia and https://www.inf.ed.ac.uk/teaching/courses/cg/lectures/cg4_2012.pdf