You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Denis Wagner edited this page Nov 8, 2023
·
7 revisions
Welcome to the SFMLMath wiki!
You are welcome to contribute to this project so it will become a more complete library. This is done through filing issues, sending pull requests or just spreading the word.
Getting Started
Global installation
Since this is a header-only library you can just save it in your include folder or where ever you store your global C++ libraries. Typically you can find it in \usr\include on Linux systems.
So simply store the file in \usr\include\SFMLMath.hpp and include it in your code as usual with #include <SFMLMath.hpp>
And now you are good to go.
Project local installation
If you want to keep it more project local, then you can just add the file to your project folder. But keep in mind, that you have to specify it in your CMakeLists.txt by adding it to your executable like this: