BabylonJS/Babylon.js — pull request #307 by MavenRain (2014-11-04 08:14:58+00:00)
Title: Babylon.Math.js Quaternion and Euler Angle conversions

Conversion methods for Quaternions to Euler Angles and vice versa for the z-x-z rotation convention and the z-y-x rotation conventions included, as well as conversions from Euler Angles to Matrices and vice versa.

Some minor loop optimizations are also included, but considered optional.