#include <Arduino.h>
#include <math.h>
Go to the source code of this file.
Defines | |
#define | DEGREE_TO_RAD (float)M_PI / 180.0f) |
#define | RAD_TO_DEGREE (180.0f / (float)M_PI) |
#define | VEC3_X 0 |
#define | VEC3_Y 1 |
#define | VEC3_Z 2 |
Typedefs | |
typedef float | MPUVector3 [3] |
Functions | |
void | MPUVector3CrossProduct (MPUVector3 a, MPUVector3 b, MPUVector3 d) |
void | MPUVector3DotProduct (MPUVector3 a, MPUVector3 b, float *d) |
#define DEGREE_TO_RAD (float)M_PI / 180.0f) |
Definition at line 31 of file MPUVector3.h.
#define RAD_TO_DEGREE (180.0f / (float)M_PI) |
Definition at line 32 of file MPUVector3.h.
#define VEC3_X 0 |
Definition at line 34 of file MPUVector3.h.
#define VEC3_Y 1 |
Definition at line 35 of file MPUVector3.h.
#define VEC3_Z 2 |
Definition at line 36 of file MPUVector3.h.
typedef float MPUVector3[3] |
Definition at line 38 of file MPUVector3.h.
void MPUVector3CrossProduct | ( | MPUVector3 | a, |
MPUVector3 | b, | ||
MPUVector3 | d | ||
) |
Definition at line 31 of file MPUVector3.cpp.
void MPUVector3DotProduct | ( | MPUVector3 | a, |
MPUVector3 | b, | ||
float * | d | ||
) |
Definition at line 26 of file MPUVector3.cpp.