This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A custom completely managed implementation of UnityEngine.Quaternion | |
// Base is decompiled UnityEngine.Quaternion | |
// Doesn't implement methods marked Obsolete | |
// Does implicit coversions to and from UnityEngine.Quaternion | |
// Uses code from: | |
// https://raw.githubusercontent.com/mono/opentk/master/Source/OpenTK/Math/Quaternion.cs | |
// http://answers.unity3d.com/questions/467614/what-is-the-source-code-of-quaternionlookrotation.html | |
// http://stackoverflow.com/questions/12088610/conversion-between-euler-quaternion-like-in-unity3d-engine | |
// http://stackoverflow.com/questions/11492299/quaternion-to-euler-angles-algorithm-how-to-convert-to-y-up-and-between-ha |