C# Class SceneViewerWPF.D3DExtensions

Exibir arquivo Open project: kobush/ManagedOpenNI

Public Methods

Method Description
DegreeToRadian ( this angle ) : double
Format ( this pt, string format = "F3" ) : string
RadianToDegree ( this angle ) : double
RandF ( this random, float min, float max ) : float
SetFromWpfCamera ( this thisCamera, System wpfCamera ) : void
ToVector3 ( this thisVector ) : System.Vector3
ToVector4 ( this thisColor ) : System.Vector4

Method Details

DegreeToRadian() public static method

public static DegreeToRadian ( this angle ) : double
angle this
return double

Format() public static method

public static Format ( this pt, string format = "F3" ) : string
pt this
format string
return string

RadianToDegree() public static method

public static RadianToDegree ( this angle ) : double
angle this
return double

RandF() public static method

public static RandF ( this random, float min, float max ) : float
random this
min float
max float
return float

SetFromWpfCamera() public static method

public static SetFromWpfCamera ( this thisCamera, System wpfCamera ) : void
thisCamera this
wpfCamera System
return void

ToVector3() public static method

public static ToVector3 ( this thisVector ) : System.Vector3
thisVector this
return System.Vector3

ToVector4() public static method

public static ToVector4 ( this thisColor ) : System.Vector4
thisColor this
return System.Vector4