Vector3<T>() { x = y = x = 0; }

changed to :
	Vector3<T>() { x = y = z = 0; }

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2600 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-06-20 16:31:31 +00:00
parent 098ac1599b
commit 7521ceed61

View File

@ -51,7 +51,7 @@ public:
T x, y, z; T x, y, z;
// trivial ctor // trivial ctor
Vector3<T>() { x = y = x = 0; } Vector3<T>() { x = y = z = 0; }
// setting ctor // setting ctor
Vector3<T>(const T x0, const T y0, const T z0): x(x0), y(y0), z(z0) {} Vector3<T>(const T x0, const T y0, const T z0): x(x0), y(y0), z(z0) {}