delete "return" in Construct function

This commit is contained in:
2020-01-23 20:23:36 +08:00
parent 4d8b4d8c73
commit e90f8c9479

View File

@@ -306,8 +306,6 @@ namespace hgl
x=v3f.x; x=v3f.x;
y=v3f.y; y=v3f.y;
z=v3f.z; z=v3f.z;
return *this;
} }
operator const Vector3f()const{return Vector3f(x,y,z);} operator const Vector3f()const{return Vector3f(x,y,z);}
@@ -337,8 +335,6 @@ namespace hgl
y=v4f.y; y=v4f.y;
z=v4f.z; z=v4f.z;
w=v4f.w; w=v4f.w;
return *this;
} }
operator const Vector4f()const{return Vector4f(x,y,z,w);} operator const Vector4f()const{return Vector4f(x,y,z,w);}