From d2deee07dfb93297cc4bccbc84dabe65892b2dfe Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 29 Oct 2013 17:43:38 +1100 Subject: [PATCH] AP_Math: fixed zero function for integer vectors --- libraries/AP_Math/vector3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Math/vector3.h b/libraries/AP_Math/vector3.h index ac1395ee87d..d2db6b19d09 100644 --- a/libraries/AP_Math/vector3.h +++ b/libraries/AP_Math/vector3.h @@ -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