SpoutDev/SpoutAPI — pull request #173 by VictorD (2012-04-25 10:41:01+00:00)
Title: Added test to quaternion getAxisAngles() to prevent NaN

This patch makes quaternions return approximate values for pitch and yaw when asked for their euler angles and they are close to a pole (north or south), as the trig methods are at risk of returning NaN in those cases.

I've included a test for this as well

Signed-off-by: Victor Danell