AP_Math: compiler warnings: use double for the constant so the template can handle it
This commit is contained in:
parent
188403242a
commit
1c3ad00aa7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user