3 ms·
>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.
by krapp 2y 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.
- phaedrus 2y agoThat's good, then. Honestly an integer rect for the viewport is, "not wrong."