From 36e7a9ad6990a3b1717efc7e4d51c677f2a0d614 Mon Sep 17 00:00:00 2001 From: Francisco Facioni Date: Thu, 6 Nov 2025 13:33:09 +0100 Subject: [PATCH] Fix initialization of vector in convert_splat When templating on types that don't have implicit constructors this fails --- glm/detail/func_common.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index 2c6851a0f..4da989036 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -322,7 +322,7 @@ namespace detail template GLM_FUNC_QUALIFIER GLM_CONSTEXPR static vec call(vec const& a) { - vec v(0); + vec v(T(0)); for (int i = 0; i < L; ++i) v[i] = a[c]; return v;