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

Helper class to test spheres against each other.
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
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