C# Class RekdEngine.UtilMath.MathExt

Afficher le fichier Open project: Naronco/Rekd-Sharp

Méthodes publiques

Свойство Type Description
Epsilon float

Méthodes publiques

Méthode Description
ApproxInvSqrt ( float x ) : float

This is slower

CalcBinomialCoefficient ( int n, int k ) : float
Factorial ( int r ) : int
Max ( Vector2f a, Vector2f b ) : Vector2f
Min ( Vector2f a, Vector2f b ) : Vector2f
ToDegrees ( float rad ) : float
ToRadians ( float deg ) : float

Method Details

ApproxInvSqrt() public static méthode

This is slower
public static ApproxInvSqrt ( float x ) : float
x float Value
Résultat float

CalcBinomialCoefficient() public static méthode

public static CalcBinomialCoefficient ( int n, int k ) : float
n int
k int
Résultat float

Factorial() public static méthode

public static Factorial ( int r ) : int
r int
Résultat int

Max() public static méthode

public static Max ( Vector2f a, Vector2f b ) : Vector2f
a Vector2f
b Vector2f
Résultat Vector2f

Min() public static méthode

public static Min ( Vector2f a, Vector2f b ) : Vector2f
a Vector2f
b Vector2f
Résultat Vector2f

ToDegrees() public static méthode

public static ToDegrees ( float rad ) : float
rad float
Résultat float

ToRadians() public static méthode

public static ToRadians ( float deg ) : float
deg float
Résultat float

Property Details

Epsilon public_oe static_oe property

public static float Epsilon
Résultat float