A quick implementation of Quaternion and Vector classes for use with my MPU9150 library

Dependents:   cool_step_new cool_step_1 SML2

Fork of QuaternionMath by Chris Pepper

Files at this revision

API Documentation at this revision

Comitter:
pvaibhav
Date:
Wed May 27 13:01:34 2015 +0000
Parent:
9:7fc3fba01e2f
Commit message:
Code reformatted

Changed in this revision

Quaternion.h Show annotated file Show diff for this revision Revisions of this file
diff -r 7fc3fba01e2f -r 69f240dbf0df Quaternion.h
--- a/Quaternion.h	Tue May 26 11:28:02 2015 +0000
+++ b/Quaternion.h	Wed May 27 13:01:34 2015 +0000
@@ -9,12 +9,12 @@
 {
 public:
     Quaternion() : w(0.0f), v(0.0f, 0.0f, 0.0f) {}
-    
+
     Quaternion(float const _w, float const _x, float const _y, float const _z)
         : w(_w), v(_x, _y, _z) {}
-    
+
     Quaternion(float const _w, const Vector3 &_v) : w(_w), v(_v) {}
-    
+
     Quaternion(Vector3 const &row0, Vector3 const &row1, Vector3 const &row2) {
         // from rotation matrix
         float const m[3][3] = {{row0.x, row0.y, row0.z},