Browse Source

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
master
jasonshort 14 years ago
parent
commit
7521ceed61
  1. 2
      libraries/AP_Math/vector3.h

2
libraries/AP_Math/vector3.h

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

Loading…
Cancel
Save