Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
libSDL
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PocketInsanity
  • libSDL
  • Repository

Switch branch/tag
  • libsdl
  • test
  • automated
  • rect
History Find file
  • Source code
  • Download zip
  • Download tar.gz
  • Download tar.bz2
  • Download tar
  • Sam Lantinga's avatar
    Added an automated test for rectangle routines, currently only testing line clipping. · 1ba0c161
    Sam Lantinga authored 15 years ago
    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
    1ba0c161
Name
Last commit
Last update
..
rect.c Added an automated test for rectangle routines, currently only testing line clipping. 15 years ago
rect.h Added an automated test for rectangle routines, currently only testing line clipping. 15 years ago