C# 클래스 RekdEngine.UtilMath.MathExt

파일 보기 프로젝트 열기: Naronco/Rekd-Sharp

공개 프로퍼티들

프로퍼티 타입 설명
Epsilon float

공개 메소드들

메소드 설명
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

메소드 상세

ApproxInvSqrt() 공개 정적인 메소드

This is slower
public static ApproxInvSqrt ( float x ) : float
x float Value
리턴 float

CalcBinomialCoefficient() 공개 정적인 메소드

public static CalcBinomialCoefficient ( int n, int k ) : float
n int
k int
리턴 float

Factorial() 공개 정적인 메소드

public static Factorial ( int r ) : int
r int
리턴 int

Max() 공개 정적인 메소드

public static Max ( Vector2f a, Vector2f b ) : Vector2f
a Vector2f
b Vector2f
리턴 Vector2f

Min() 공개 정적인 메소드

public static Min ( Vector2f a, Vector2f b ) : Vector2f
a Vector2f
b Vector2f
리턴 Vector2f

ToDegrees() 공개 정적인 메소드

public static ToDegrees ( float rad ) : float
rad float
리턴 float

ToRadians() 공개 정적인 메소드

public static ToRadians ( float deg ) : float
deg float
리턴 float

프로퍼티 상세

Epsilon 공개적으로 정적으로 프로퍼티

public static float Epsilon
리턴 float