C# Class BEPUphysics.CollisionTests.CollisionAlgorithms.TriangleSpherePairTester

Persistent tester that compares triangles against convex objects.
Inheritance: TrianglePairTester
Mostrar archivo Open project: Indiefreaks/igf

Public Methods

Method Description
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.

Method Details

CleanUp() public method

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

GenerateContactCandidate() public method

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

GetRegion() public method

public GetRegion ( ContactData &contact ) : VoronoiRegion
contact ContactData
return VoronoiRegion

Initialize() public method

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.
return void