supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Removing unneeded dependencies like GLM

Open MatusGuy opened this issue 1 year ago • 6 comments

GLM is just a struct with an x and y value and operator overloads. FMT is just snprintf.

More dependencies = harder to port. It's very disappointing having to deal with these libraries when they could've just been replaced anyway

MatusGuy avatar Dec 01 '23 21:12 MatusGuy

GLM is just a struct with an x and y value and operator overloads.

Rather you mean glm::vec2 from GLM?

mrkubax10 avatar Dec 02 '23 10:12 mrkubax10

Yes and that's the only thing we need from it

MatusGuy avatar Dec 02 '23 11:12 MatusGuy

https://github.com/SuperTux/supertux/pull/1735#issue-867610129

tobbi avatar Dec 02 '23 13:12 tobbi

https://github.com/SuperTux/supertux/pull/2004#issue-1087152849

tobbi avatar Dec 02 '23 13:12 tobbi

Thanks tobbi

MatusGuy avatar Dec 02 '23 13:12 MatusGuy

apparently fmt has certain performance benefits. I don't wanna touch it.

MatusGuy avatar Jun 30 '24 11:06 MatusGuy