C# Class Indiefreaks.Xna.Physics.MatrixExtensions

Exibir arquivo Open project: Indiefreaks/igf

Public Methods

Method Description
GetRotationAndTranslationComponents ( this worldMatrix, Microsoft.Xna.Framework.Quaternion &rotation, Microsoft.Xna.Framework.Vector3 &translation ) : void
GetScaleComponent ( this worldMatrix, Microsoft.Xna.Framework.Vector3 &scale ) : void
SRTMatrixToRTMatrix ( this worldMatrix, Matrix &rtMatrix ) : void

Method Details

GetRotationAndTranslationComponents() public static method

public static GetRotationAndTranslationComponents ( this worldMatrix, Microsoft.Xna.Framework.Quaternion &rotation, Microsoft.Xna.Framework.Vector3 &translation ) : void
worldMatrix this
rotation Microsoft.Xna.Framework.Quaternion
translation Microsoft.Xna.Framework.Vector3
return void

GetScaleComponent() public static method

public static GetScaleComponent ( this worldMatrix, Microsoft.Xna.Framework.Vector3 &scale ) : void
worldMatrix this
scale Microsoft.Xna.Framework.Vector3
return void

SRTMatrixToRTMatrix() public static method

public static SRTMatrixToRTMatrix ( this worldMatrix, Matrix &rtMatrix ) : void
worldMatrix this
rtMatrix Microsoft.Xna.Framework.Matrix
return void