From 7521ceed61cd7b194f7f25e081ea0f738d967bac Mon Sep 17 00:00:00 2001 From: jasonshort Date: Mon, 20 Jun 2011 16:31:31 +0000 Subject: [PATCH] Vector3() { x = y = x = 0; } changed to : Vector3() { x = y = z = 0; } git-svn-id: https://arducopter.googlecode.com/svn/trunk@2600 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_Math/vector3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Math/vector3.h b/libraries/AP_Math/vector3.h index 35c375917a..adf33847bf 100644 --- a/libraries/AP_Math/vector3.h +++ b/libraries/AP_Math/vector3.h @@ -51,7 +51,7 @@ public: T x, y, z; // trivial ctor - Vector3() { x = y = x = 0; } + Vector3() { x = y = z = 0; } // setting ctor Vector3(const T x0, const T y0, const T z0): x(x0), y(y0), z(z0) {}