Annoying details of a Z-buffer rasterizer

from blog Computer Graphics & Programming with Pekka Väänänen - 30fps.net, | ↗ original
I wrote a software rasterizer for occlusion culling and hit many small speed bumps along the way. Here I reveal what I’ve learned in the hope of you writing your own with more ease than I did.