C# Class BEPUphysics.CollisionTests.CollisionAlgorithms.SphereTester

Helper class to test spheres against each other.
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode Description
AreSpheresColliding ( SphereShape a, SphereShape b, Vector3 &positionA, Vector3 &positionB, ContactData &contact ) : bool

Computes contact data for two spheres.

Method Details

AreSpheresColliding() public static méthode

Computes contact data for two spheres.
public static AreSpheresColliding ( SphereShape a, SphereShape b, Vector3 &positionA, Vector3 &positionB, ContactData &contact ) : bool
a BEPUphysics.CollisionShapes.ConvexShapes.SphereShape First sphere.
b BEPUphysics.CollisionShapes.ConvexShapes.SphereShape Second sphere.
positionA Vector3 Position of the first sphere.
positionB Vector3 Position of the second sphere.
contact ContactData Contact data between the spheres, if any.
Résultat bool