AP_Math: fixed zero function for integer vectors

This commit is contained in:
Andrew Tridgell 2013-10-29 17:43:38 +11:00
parent b98bcbf715
commit d2deee07df

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