A quick implementation of Quaternion and Vector classes for use with my MPU9150 library
Fork of QuaternionMath by
Diff: Vector3.h
- Revision:
- 1:dd9d33446ccf
- Parent:
- 0:3cc1a808d8c6
diff -r 3cc1a808d8c6 -r dd9d33446ccf Vector3.h --- a/Vector3.h Mon Sep 01 13:48:26 2014 +0000 +++ b/Vector3.h Mon Dec 19 18:01:26 2016 +0000 @@ -1,7 +1,10 @@ #ifndef __AHRSMATHDSP_VECTOR3_ #define __AHRSMATHDSP_VECTOR3_ -#include "arm_math.h" +//#include "arm_math.h" +#include "math.h" +#define PI 3.1415926535 + class Vector3 { public: