Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: cool_step_new cool_step_1 SML2
Fork of QuaternionMath by
Revision 10:69f240dbf0df, committed 2015-05-27
- 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},
    