AP_Math: fixed zero function for integer vectors

This commit is contained in:
Andrew Tridgell
2013-11-07 12:48:16 +11:00
parent b98bcbf715
commit d2deee07df
+1 -1
View File
@@ -153,7 +153,7 @@ public:
// zero the vector
void zero()
{
x = y = z = 0.0;
x = y = z = 0;
}
// returns the normalized version of this vector