about summary refs log tree commit diff
path: root/src/game/g_vmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_vmath.h')
-rw-r--r--src/game/g_vmath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_vmath.h b/src/game/g_vmath.h
index 65f94776..db7f4a50 100644
--- a/src/game/g_vmath.h
+++ b/src/game/g_vmath.h
@@ -162,6 +162,7 @@ public:
 	vector4_base operator +(const vector4_base &v) const { return vector4_base(x+v.x, y+v.y, z+v.z, w+v.w); }
 	vector4_base operator -(const vector4_base &v) const { return vector4_base(x-v.x, y-v.y, z-v.z, w-v.w); }
 	vector4_base operator -() const { return vector4_base(-x, -y, -z, -w); }
+	vector4_base operator *(const vector4_base &v) const { return vector4_base(x*v.x, y*v.y, z*v.z, w*v.w); }
 	vector4_base operator *(const T v) const { return vector4_base(x*v, y*v, z*v, w*v); }
 	
 	const vector4_base &operator =(const vector4_base &v) { x = v.x; y = v.y; z = v.z; w = v.w; return *this; }