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. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404285
18 lines
218 B
C
18 lines
218 B
C
/**
|
|
* Part of SDL test suite.
|
|
*
|
|
* Written by Edgar Simo "bobbens"
|
|
*
|
|
* Released under Public Domain.
|
|
*/
|
|
|
|
|
|
#ifndef _TEST_PLATFORM
|
|
# define _TEST_PLATFORM
|
|
|
|
|
|
int test_platform (void);
|
|
|
|
|
|
#endif /* _TEST_PLATFORM */
|
|
|