From 32ac9ad461f4e37e2a6c0ea0e933ceec2dc937c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sun, 3 Mar 2019 15:16:44 -0800 Subject: [PATCH] Explicit ctor from float to Vec3. --- include/bx/math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bx/math.h b/include/bx/math.h index f606392..ab133d1 100644 --- a/include/bx/math.h +++ b/include/bx/math.h @@ -57,7 +57,7 @@ namespace bx Vec3(); /// - constexpr Vec3(float _v); + explicit constexpr Vec3(float _v); /// constexpr Vec3(float _x, float _y, float _z);