Browse Source

Explicit ctor from float to Vec3.

Бранимир Караџић 6 years ago
parent
commit
32ac9ad461
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/bx/math.h

+ 1 - 1
include/bx/math.h

@@ -57,7 +57,7 @@ namespace bx
 		Vec3();
 		Vec3();
 
 
 		///
 		///
-		constexpr Vec3(float _v);
+		explicit constexpr Vec3(float _v);
 
 
 		///
 		///
 		constexpr Vec3(float _x, float _y, float _z);
 		constexpr Vec3(float _x, float _y, float _z);