From a564817cb8b97d6ff68486791a3884912a185280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 11 Jan 2022 21:08:49 +0100 Subject: Make mixed vec4 type constructor works with different vector types --- source/blender/blenlib/BLI_math_vec_types.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/blenlib/BLI_math_vec_types.hh b/source/blender/blenlib/BLI_math_vec_types.hh index fd95acbe6bc..52aacd294e4 100644 --- a/source/blender/blenlib/BLI_math_vec_types.hh +++ b/source/blender/blenlib/BLI_math_vec_types.hh @@ -145,8 +145,8 @@ template struct vec_base : public vec_struct_base { } - template - vec_base(vec_base xy, vec_base zw) + template + vec_base(vec_base xy, vec_base zw) : vec_base( static_cast(xy.x), static_cast(xy.y), static_cast(zw.x), static_cast(zw.y)) { -- cgit v1.2.3