C# 클래스 TerrainDisplay.Collision._3D.AABB

Axis-Aligned Bounding Box
파일 보기 프로젝트 열기: WCell/WCell-Terrain 1 사용 예제들

공개 메소드들

메소드 설명
AABB ( IEnumerable vertices ) : System
AABB ( IShape shape ) : System
AABB ( IShape shape, int id ) : System

Constructor

AABB ( System.Vector3 min, System.Vector3 max ) : System
Intersects ( AABB box1, AABB box2 ) : bool

Checks if two AABBs intersect.

Intersects ( AABB box, Ray ray ) : bool

Checks if a Ray intersects an AABB.

메소드 상세

AABB() 공개 메소드

public AABB ( IEnumerable vertices ) : System
vertices IEnumerable
리턴 System

AABB() 공개 메소드

public AABB ( IShape shape ) : System
shape IShape
리턴 System

AABB() 공개 메소드

Constructor
public AABB ( IShape shape, int id ) : System
shape IShape The IShape to place in this bounding box.
id int
리턴 System

AABB() 공개 메소드

public AABB ( System.Vector3 min, System.Vector3 max ) : System
min System.Vector3
max System.Vector3
리턴 System

Intersects() 공개 정적인 메소드

Checks if two AABBs intersect.
public static Intersects ( AABB box1, AABB box2 ) : bool
box1 AABB One AABB
box2 AABB The other AABB
리턴 bool

Intersects() 공개 정적인 메소드

Checks if a Ray intersects an AABB.
public static Intersects ( AABB box, Ray ray ) : bool
box AABB The AABB in question.
ray Ray The Ray in question.
리턴 bool