C# Class BEPUphysics.CollisionTests.CollisionAlgorithms.TriangleSpherePairTester

Persistent tester that compares triangles against convex objects.
Inheritance: TrianglePairTester
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode 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 méthode

Cleans up the pair tester.
public CleanUp ( ) : void
Résultat void

GenerateContactCandidate() public méthode

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

GetRegion() public méthode

public GetRegion ( ContactData &contact ) : VoronoiRegion
contact ContactData
Résultat VoronoiRegion

Initialize() public méthode

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.
Résultat void