C# Class Fusion.Drivers.Graphics.Display.OculusFusionHelpers

Datei anzeigen Open project: demiurghg/FusionEngine

Public Methods

Method Description
ToMatrix ( this ovrMatrix4f ) : System.Matrix

Convert an ovrMatrix4f to a SharpDX Matrix.

ToQuaternion ( this ovrQuatf ) : Quaternion

Converts an ovrQuatf to a SharpDX Quaternion.

ToVector3 ( this vector4 ) : System.Vector3

Convert a Vector4 to a Vector3

Method Details

ToMatrix() public static method

Convert an ovrMatrix4f to a SharpDX Matrix.
public static ToMatrix ( this ovrMatrix4f ) : System.Matrix
ovrMatrix4f this ovrMatrix4f to convert to a SharpDX Matrix.
return System.Matrix

ToQuaternion() public static method

Converts an ovrQuatf to a SharpDX Quaternion.
public static ToQuaternion ( this ovrQuatf ) : Quaternion
ovrQuatf this
return Quaternion

ToVector3() public static method

Convert a Vector4 to a Vector3
public static ToVector3 ( this vector4 ) : System.Vector3
vector4 this Vector4 to convert to a Vector3.
return System.Vector3