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

History

Code reformatted default tip

2015-05-27, by pvaibhav [Wed, 27 May 2015 13:01:34 +0000] rev 10

Code reformatted


Use float literal

2015-05-26, by pvaibhav [Tue, 26 May 2015 11:28:02 +0000] rev 9

Use float literal


Massive code reformatting and cleanup, mostly const-correctness related.

2015-04-20, by pvaibhav [Mon, 20 Apr 2015 13:38:01 +0000] rev 8

Massive code reformatting and cleanup, mostly const-correctness related.


angles to quaternion function changed but probably still wrong

2015-03-26, by pvaibhav [Thu, 26 Mar 2015 15:41:59 +0000] rev 7

angles to quaternion function changed but probably still wrong


Added function to get axis-angle representation

2015-03-18, by pvaibhav [Wed, 18 Mar 2015 15:34:12 +0000] rev 6

Added function to get axis-angle representation


getRotationMatrix from quaternion added

2015-03-13, by pvaibhav [Fri, 13 Mar 2015 16:10:04 +0000] rev 5

getRotationMatrix from quaternion added


Code reformatting

2015-03-13, by pvaibhav [Fri, 13 Mar 2015 09:11:22 +0000] rev 4

Code reformatting


Added Quaternion constructor from rotation matrix. Fixed Vector3.normalised()

2015-03-13, by pvaibhav [Fri, 13 Mar 2015 09:10:41 +0000] rev 3

Added Quaternion constructor from rotation matrix. Fixed Vector3.normalised()


Added .normalised() method to Vector3 to return normalised vector without modifying original vector.

2015-03-12, by pvaibhav [Thu, 12 Mar 2015 10:14:52 +0000] rev 2

Added .normalised() method to Vector3 to return normalised vector without modifying original vector.


const correctness modifications

2015-02-24, by pvaibhav [Tue, 24 Feb 2015 10:05:29 +0000] rev 1

const correctness modifications