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 -1
View File
@@ -33,7 +33,7 @@ const Track* TimelineContext::selected_item_get()
return document.model.track_get(reference);
}
glm::vec4 TimelineContext::color_get(TimelineColor color, int type)
Vec4 TimelineContext::color_get(TimelineColor color, int type)
{
auto& colors = TIMELINE_COLORS[color];
return isLightTheme ? colors.light[std::clamp(type, 0, TRIGGER)] : colors.dark[type];