SFML / CSFML

Official binding of SFML for C
https://www.sfml-dev.org
Other
342 stars 121 forks source link

Added functions to convert between corresponding SFML and CSFML types #273

Closed ChrisThrasher closed 2 weeks ago

ChrisThrasher commented 3 weeks ago

This removes a lot of code that was doing the same thing over and over again. I chose the name convert since it's nice and short. There are similar functions named convertEvent, convertTransform, and convertRenderStates that do similar things for other types. I'd like to rename those to convert if the team is onboard with that but it's also fine to leave them as-is.