C# 클래스 RTSEngine.Data.SelectionDetection

파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS 1 사용 예제들

공개 메소드들

메소드 설명
FromSelectionRect ( Matrix mView, Matrix mProj, Vector2 min, Vector2 max ) : BoundingFrustum
Intersects ( BoundingFrustum f, Microsoft.Xna.Framework.BoundingBox &box ) : bool

메소드 상세

FromSelectionRect() 공개 정적인 메소드

public static FromSelectionRect ( Matrix mView, Matrix mProj, Vector2 min, Vector2 max ) : BoundingFrustum
mView Matrix
mProj Matrix
min Vector2
max Vector2
리턴 BoundingFrustum

Intersects() 공개 정적인 메소드

public static Intersects ( BoundingFrustum f, Microsoft.Xna.Framework.BoundingBox &box ) : bool
f BoundingFrustum
box Microsoft.Xna.Framework.BoundingBox
리턴 bool