Defines | Typedefs | Functions
MPUVector3.h File Reference
#include <Arduino.h>
#include <math.h>
Include dependency graph for MPUVector3.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#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 Documentation

typedef float MPUVector3[3]

Definition at line 38 of file MPUVector3.h.


Function Documentation

Definition at line 31 of file MPUVector3.cpp.

void MPUVector3DotProduct ( MPUVector3  a,
MPUVector3  b,
float *  d 
)

Definition at line 26 of file MPUVector3.cpp.



ric_mc
Author(s): RoboTiCan
autogenerated on Fri May 20 2016 03:48:57