C# 클래스 idTech4.Extensions

파일 보기 프로젝트 열기: iainmckay/idtech4.net

공개 메소드들

메소드 설명
Compare ( this v2, Vector3 v, float epsilon ) : bool
Distance ( this plane, Vector3 point ) : float
FitThroughPoint ( this plane, Vector3 point ) : void
FixDegenerateNormal ( this v ) : bool
FromPoints ( this plane, Vector3 p1, Vector3 p2, Vector3 p3, bool fixDegenerate = true ) : bool
Get ( this v, int index ) : float
Normalize ( this plane, bool fixDegenerate ) : float
ToAngles ( this m ) : idAngles
ToMatrix ( this q ) : Matrix

메소드 상세

Compare() 공개 정적인 메소드

public static Compare ( this v2, Vector3 v, float epsilon ) : bool
v2 this
v Vector3
epsilon float
리턴 bool

Distance() 공개 정적인 메소드

public static Distance ( this plane, Vector3 point ) : float
plane this
point Vector3
리턴 float

FitThroughPoint() 공개 정적인 메소드

public static FitThroughPoint ( this plane, Vector3 point ) : void
plane this
point Vector3
리턴 void

FixDegenerateNormal() 공개 정적인 메소드

public static FixDegenerateNormal ( this v ) : bool
v this
리턴 bool

FromPoints() 공개 정적인 메소드

public static FromPoints ( this plane, Vector3 p1, Vector3 p2, Vector3 p3, bool fixDegenerate = true ) : bool
plane this
p1 Vector3
p2 Vector3
p3 Vector3
fixDegenerate bool
리턴 bool

Get() 공개 정적인 메소드

public static Get ( this v, int index ) : float
v this
index int
리턴 float

Normalize() 공개 정적인 메소드

public static Normalize ( this plane, bool fixDegenerate ) : float
plane this
fixDegenerate bool
리턴 float

ToAngles() 공개 정적인 메소드

public static ToAngles ( this m ) : idAngles
m this
리턴 idTech4.Math.idAngles

ToMatrix() 공개 정적인 메소드

public static ToMatrix ( this q ) : Matrix
q this
리턴 Matrix