[comp.lang.c] triangle filling

bdbihjp@eutrc3.urc.tue.nl (hj.pels) (08/29/89)

Hello

I am looking for a FAST triangle-filling algorithm in C. It should be
optimised for triangles, i already have a generic polygon filler. The
algorithm should 'scan' a triangle and call a function scanline for each
horizontal line with parameters Y,X1 and X2 coordinates. Are there
any classic algorithms available ? Pseudo-code or Pascal is also
acceptable

Greetings

merlin