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

+1 -2
View File
@@ -103,8 +103,7 @@ void sounds_update(Panel& panel)
auto audio = document.sound_get(id);
auto isValid = audio && audio->is_valid();
auto& texture = resources.icons[isValid ? ICON_SOUND : ICON_NONE];
return CardImage{
.texture = &texture, .size = glm::vec2(texture.size), .isValid = isValid};
return CardImage{.texture = &texture, .size = Vec2(texture.size), .isValid = isValid};
},
.select =
[&](int id) {