triangle rasterizer + matrix math | ScratchStats