From e90f8c94792487bb12d4ce1b4602ce7be7dc62e3 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 23 Jan 2020 20:23:36 +0800 Subject: [PATCH] delete "return" in Construct function --- inc/hgl/math/Vector.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/inc/hgl/math/Vector.h b/inc/hgl/math/Vector.h index 5603c6d..9d44301 100644 --- a/inc/hgl/math/Vector.h +++ b/inc/hgl/math/Vector.h @@ -306,8 +306,6 @@ namespace hgl x=v3f.x; y=v3f.y; z=v3f.z; - - return *this; } operator const Vector3f()const{return Vector3f(x,y,z);} @@ -337,8 +335,6 @@ namespace hgl y=v4f.y; z=v4f.z; w=v4f.w; - - return *this; } operator const Vector4f()const{return Vector4f(x,y,z,w);}