Replace glm with vec.h

Vec2, IVec2, Vec3, Vec4, IVec4 and a column-major Mat4, with glm's formulas, in one header.
Free functions are vec_ and mat4_ prefixed. The leaked using namespace glm is gone.
Render goldens still match.
This commit is contained in:
shweet committed 2026-11-22 18:15:02 -05:00
1 parent c38a3a9890
commit 03bbb93ba6
79 files changed
+1232 -810

No files matched your search

-2
View File
@@ -28,8 +28,6 @@
#include "ui/toast.h"
#include "working_directory.h"
using namespace glm;
constexpr std::string_view BAKED_EXTENSION = ".baked.png";
constexpr std::string_view AUTOSAVE_EXTENSION = ".autosave";
constexpr int VECTOR_LEVEL_MAX = 3;