lispgames / cl-sdl2

Common Lisp bindings for SDL2 using C2FFI.
MIT License
308 stars 82 forks source link

Added intersect-rect-and-line support for SDL_IntersectRectAndLine() #136

Closed ellisvelo closed 2 years ago

ellisvelo commented 3 years ago

Hello,

I've added a function into rect.lisp that adds intersection checking with a rectangle and a line. Thanks for your support of cl-sdl2.

Halfwake commented 3 years ago

This should be good to merge now, right?