Hacker News new | ask | show | jobs
by krapp 652 days ago
>Does SDL3 still use integers for coordinates?

No, they added float versions for most functions and I think they plan on deprecating the int API in the future. The only exception I can think of offhand is still needing an integer rect to set a viewport.

1 comments

That's good, then. Honestly an integer rect for the viewport is, "not wrong."