C# Class idTech4.idMath

显示文件 Open project: iainmckay/idtech4.net

Public Properties

Property Type Description
Radian float

Public Methods

Method Description
Abs ( float a ) : float
Cos ( float c ) : float
Max ( float a, float b ) : float
Min ( float a, float b ) : float
Sin ( float s ) : float
Sqrt ( float v ) : float
ToRadians ( float v ) : float
VectorHash ( Vector3 v ) : int

Method Details

Abs() public static method

public static Abs ( float a ) : float
a float
return float

Cos() public static method

public static Cos ( float c ) : float
c float
return float

Max() public static method

public static Max ( float a, float b ) : float
a float
b float
return float

Min() public static method

public static Min ( float a, float b ) : float
a float
b float
return float

Sin() public static method

public static Sin ( float s ) : float
s float
return float

Sqrt() public static method

public static Sqrt ( float v ) : float
v float
return float

ToRadians() public static method

public static ToRadians ( float v ) : float
v float
return float

VectorHash() public static method

public static VectorHash ( Vector3 v ) : int
v Vector3
return int

Property Details

Radian public_oe static_oe property

public static float Radian
return float