[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] draw_poly function cleanup. Can you understand it?



Hello,

e1000, a new contributor to pygame has done a wonderful job cleaning up the draw_fillpoly function (pygame.draw.polygon), as well as testing it, and fixing some bugs.

Do you understand the function? Questions and suggestions here:
https://github.com/pygame/pygame/pull/515/files

Full draw_fillpoly that isn't a diff.
https://github.com/pygame/pygame/blob/9e3c794eee9efb8a32706aa5f4684820f3e18e26/src_c/draw.c#L1557


cheers,