ikskuh / SDL.zig

A shallow wrapper around SDL that provides object API and error handling
MIT License
348 stars 75 forks source link

add multi-draw functions to wrapper #171

Closed Sivecano closed 3 months ago

Sivecano commented 3 months ago

I was missing these in a project I was working on so I added them to the wrapper.

Sivecano commented 3 months ago

this adds DrawPoints, DrawLines, DrawRects, FillRects and their floating point equivalents to the wrapper

Sivecano commented 3 months ago

I also added their use to the example tho that can be reverted if you're unhappy with it.