C# Class SpaceRun.Utilities

ファイルを表示 Open project: zzorn/Spike3D

Public Methods

Method Description
QuaternionToEuler ( Microsoft.Xna.Framework.Quaternion q ) : Vector3

The function converts a Microsoft.Xna.Framework.Quaternion into a Microsoft.Xna.Framework.Vector3

This function was extrapolated by reading the work of Martin John Baker. All credit for this function goes to Martin John. http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/index.htm

Method Details

QuaternionToEuler() public static method

The function converts a Microsoft.Xna.Framework.Quaternion into a Microsoft.Xna.Framework.Vector3
This function was extrapolated by reading the work of Martin John Baker. All credit for this function goes to Martin John. http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/index.htm
public static QuaternionToEuler ( Microsoft.Xna.Framework.Quaternion q ) : Vector3
q Microsoft.Xna.Framework.Quaternion The Quaternion to convert
return Vector3