C# Class SharpHelper.SharpUtilities

Utilities
ファイルを表示 Open project: RobyDX/SharpDX_Demo

Public Methods

Method Description
AngleToRad ( float degree ) : float

Degree to Radiant

FloatToText ( ) : string

Convert array of float in a string

IntToText ( ) : string

Convert array of integer in a string

RadToGrad ( float radiant ) : float

Radiant to Degree

StringToFloat ( string text ) : float[]

String to float array

Method Details

AngleToRad() public static method

Degree to Radiant
public static AngleToRad ( float degree ) : float
degree float Degree
return float

FloatToText() public static method

Convert array of float in a string
public static FloatToText ( ) : string
return string

IntToText() public static method

Convert array of integer in a string
public static IntToText ( ) : string
return string

RadToGrad() public static method

Radiant to Degree
public static RadToGrad ( float radiant ) : float
radiant float Radiant
return float

StringToFloat() public static method

String to float array
public static StringToFloat ( string text ) : float[]
text string String
return float[]