From 4b0b24a27c5b92be4d7d514186934f1d584e4343 Mon Sep 17 00:00:00 2001 From: Akiko Date: Fri, 25 Oct 2013 06:54:19 +0200 Subject: [PATCH] - fixed the most anoying bug I ever had --- engine/Vector.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; } // --- -- 2.15.1