ps2dev / gsKit

gsKit is a C interface to the PS2 Graphics Synthesizer
Other
107 stars 28 forks source link

Check and clip input parameters #17

Closed rickgaiser closed 6 years ago

rickgaiser commented 6 years ago

gsKit uses mostly floating point values for x,y,u and v in the interface and then converts these values to ps2 integers. This pull request adds clipping, so the x,y,u and v values will not overflow.

This fixes:

I also cleaned up some makefile constructions that where no longer used/required.