From: Akiko Date: Fri, 25 Oct 2013 04:54:19 +0000 (+0200) Subject: - fixed the most anoying bug I ever had X-Git-Url: http://community.linux-addicted.net/gitweb/?a=commitdiff_plain;h=4b0b24a27c5b92be4d7d514186934f1d584e4343;p=qtinns.git - fixed the most anoying bug I ever had --- diff --git a/engine/Vector.hxx b/engine/Vector.hxx index 06f4aa5..c224610 100644 --- a/engine/Vector.hxx +++ b/engine/Vector.hxx @@ -1117,7 +1117,7 @@ Vector3 operator*(const Val& val, const Vector3& vec) std::is_integral::value || std::is_floating_point::value, "ERROR: template parameter is not an integral or floating point type"); - return {val * vec.x, val + vec.y, val * vec.z}; + return {val * vec.x, val * vec.y, val * vec.z}; } // ---