C# 클래스 BEPUphysics.CollisionTests.CollisionAlgorithms.TriangleSpherePairTester

Persistent tester that compares triangles against convex objects.
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
CleanUp ( ) : void

Cleans up the pair tester.

GenerateContactCandidate ( TinyStructList &contactList ) : bool

Generates a contact between the triangle and convex.

GetRegion ( ContactData &contact ) : VoronoiRegion
Initialize ( ConvexShape convex, TriangleShape triangle ) : void

Initializes the pair tester.

메소드 상세

CleanUp() 공개 메소드

Cleans up the pair tester.
public CleanUp ( ) : void
리턴 void

GenerateContactCandidate() 공개 메소드

Generates a contact between the triangle and convex.
public GenerateContactCandidate ( TinyStructList &contactList ) : bool
contactList TinyStructList Contact between the shapes, if any.
리턴 bool

GetRegion() 공개 메소드

public GetRegion ( ContactData &contact ) : VoronoiRegion
contact ContactData
리턴 VoronoiRegion

Initialize() 공개 메소드

Initializes the pair tester.
public Initialize ( ConvexShape convex, TriangleShape triangle ) : void
convex BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Convex shape to use.
triangle BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape Triangle shape to use.
리턴 void