SDL/test/automated/rect
Sam Lantinga 0a3768436b Added an automated test for rectangle routines, currently only testing line clipping.
Use the Cohen-Sutherland algorithm for line clipping which uses integer math and preserves ordering of clipped points.

Removed getopt() support in testsdl.c, replaced with simple argv scanning.
2009-12-11 09:22:34 +00:00
..
rect.c Added an automated test for rectangle routines, currently only testing line clipping. 2009-12-11 09:22:34 +00:00
rect.h Added an automated test for rectangle routines, currently only testing line clipping. 2009-12-11 09:22:34 +00:00