C# Класс BEPUphysics.CollisionTests.CollisionAlgorithms.SphereTester

Helper class to test spheres against each other.
Показать файл Открыть проект

Открытые методы

Метод Описание
AreSpheresColliding ( SphereShape a, SphereShape b, Vector3 &positionA, Vector3 &positionB, ContactData &contact ) : bool

Computes contact data for two spheres.

Описание методов

AreSpheresColliding() публичный статический Метод

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.
Результат bool