AP_Math: compiler warnings: use double for the constant so the template can handle it

This commit is contained in:
Tom Pittenger 2015-05-02 20:57:39 -07:00 committed by Andrew Tridgell
parent 188403242a
commit 1c3ad00aa7

View File

@ -19,7 +19,7 @@
#include "AP_Math.h"
#define HALF_SQRT_2 0.70710678118654757f
#define HALF_SQRT_2 0.70710678118654757
// rotate a vector by a standard rotation, attempting
// to use the minimum number of floating point operations