From eb3ebcd9f568cfe6abb5c03fab0bb3af46be2704 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 19 Dec 2018 21:14:34 -0800 Subject: Fixed issue with WindowsFileSystem::CreateDirectory and WindowsFileSystem::DeleteFile; few updates to Vector implementation --- Common/interface/BasicMath.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Common/interface') diff --git a/Common/interface/BasicMath.h b/Common/interface/BasicMath.h index 014eb3db..8826ca28 100644 --- a/Common/interface/BasicMath.h +++ b/Common/interface/BasicMath.h @@ -186,8 +186,8 @@ template struct Vector2 return reinterpret_cast(this)[index]; } - explicit - Vector2(T _x = 0, T _y = 0) : x(_x), y(_y) { } + Vector2() : x(0), y(0) { } + Vector2(T _x, T _y) : x(_x), y(_y) { } }; template @@ -359,8 +359,8 @@ template struct Vector3 return reinterpret_cast(this)[index]; } - explicit - Vector3(T _x = 0, T _y = 0, T _z = 0) : x(_x), y(_y), z(_z) { } + Vector3() : x(0), y(0), z(0) {} + Vector3(T _x, T _y, T _z) : x(_x), y(_y), z(_z) { } operator Vector2()const{return Vector2(x,y);} }; @@ -553,8 +553,8 @@ template struct Vector4 return reinterpret_cast(this)[index]; } - explicit - Vector4(T _x = 0, T _y = 0, T _z = 0, T _w = 0) : x(_x), y(_y), z(_z), w(_w) { } + Vector4() : x(0), y(0), z(0), w(0) { } + Vector4(T _x, T _y, T _z, T _w) : x(_x), y(_y), z(_z), w(_w) { } }; -- cgit v1.2.3