C# 클래스 BananaMpq.MathUtil

파일 보기 프로젝트 열기: sgraf812/BananaMpq

공개 메소드들

메소드 설명
Clamp ( int value, int min, int max ) : int
Contains ( this rect, Vector2 v ) : bool
Contains ( this rect, Vector3 v ) : bool
Intersects ( this rect, BoundingBox box ) : bool
Transform ( this vertices, Matrix transform ) : IEnumerable
TriangleNormal ( Vector3 a, Vector3 b, Vector3 c ) : Vector3
Union ( this a, BoundingBox b ) : BoundingBox

메소드 상세

Clamp() 공개 정적인 메소드

public static Clamp ( int value, int min, int max ) : int
value int
min int
max int
리턴 int

Contains() 공개 정적인 메소드

public static Contains ( this rect, Vector2 v ) : bool
rect this
v Vector2
리턴 bool

Contains() 공개 정적인 메소드

public static Contains ( this rect, Vector3 v ) : bool
rect this
v Vector3
리턴 bool

Intersects() 공개 정적인 메소드

public static Intersects ( this rect, BoundingBox box ) : bool
rect this
box BoundingBox
리턴 bool

Transform() 공개 정적인 메소드

public static Transform ( this vertices, Matrix transform ) : IEnumerable
vertices this
transform Matrix
리턴 IEnumerable

TriangleNormal() 공개 정적인 메소드

public static TriangleNormal ( Vector3 a, Vector3 b, Vector3 c ) : Vector3
a Vector3
b Vector3
c Vector3
리턴 Vector3

Union() 공개 정적인 메소드

public static Union ( this a, BoundingBox b ) : BoundingBox
a this
b BoundingBox
리턴 BoundingBox