<Scanline Algorithm>= public void scanline() { sort objects by y; for all y { sort objects by x; for all x { compare z; } } }