A very rough and quick implementation of the Sutherland-Hodgman algorithm for cutting a triangle that is partially offscreen. No fps counter bc it was bugging out :( Update: there is a MUCH faster and easier workaround that I didn't know about until after making this project. The Sutherland-Hodgman algorithm will not be used at all in the final project but I will bring it up in my video lol
Me This still needs a LOT of optimization. It is not final at all. this is 2D