Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>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.



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: