a fairly optimized raster based triangle filler in a 3d engine these will work better since triangles may be small. small tringles will work much faster than large triangles
all code by me math by me (its really just yr 8 math tbh)