mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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:
parent
098ac1599b
commit
7521ceed61
@ -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) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user