People coming from SD
Since SD is for learning, instead of just diving in and using glm (definitely check it out :)) I decided to implement my own linear algebra library, which I call Vatnar Linear Algebra. The project is standalone from the engine, but developed at the same time, and therefore it does not implement features I don’t have a use for in the engine yet. The repository for VLA can be found here.
Quickstart
Using CMake and git submodules (recommended)
Clone the repository into where you want to put it, I recommend in a vendor folder or similar
git clone https://github.com/Vatnar/VLAIn your main CMakeLists.txt:
add_subdirectory(vendor/VLA)
target_link_libraries(your_target PUBLIC
VLA
)You should now be able to include for example
#include "VLA/Matrix.hpp"
#include "VLA/Vector.hpp"And use the VLA library.
Using a distributed release
Currently VLA is only available as source code, but in the future prebuilt binaries will be released for major platforms.