C# 클래스 Box2D.Collision.Distance

This is non-static for faster pooling. To get an instance, use the {@link SingletonPool}, don't construct a distance object.
파일 보기 프로젝트 열기: gerich-home/box2dnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GJK_CALLS int
GJK_ITERS int
GJK_MAX_ITERS int

공개 메소드들

메소드 설명
GetDistance ( DistanceOutput output, SimplexCache cache, DistanceInput input ) : void

Compute the closest points between two shapes. Supports any combination of: CircleShape and PolygonShape. The simplex cache is input/output. On the first call set SimplexCache.count to zero.

메소드 상세

GetDistance() 공개 메소드

Compute the closest points between two shapes. Supports any combination of: CircleShape and PolygonShape. The simplex cache is input/output. On the first call set SimplexCache.count to zero.
public GetDistance ( DistanceOutput output, SimplexCache cache, DistanceInput input ) : void
output DistanceOutput
cache SimplexCache
input DistanceInput
리턴 void

프로퍼티 상세

GJK_CALLS 공개적으로 정적으로 프로퍼티

public static int GJK_CALLS
리턴 int

GJK_ITERS 공개적으로 정적으로 프로퍼티

public static int GJK_ITERS
리턴 int

GJK_MAX_ITERS 공개적으로 정적으로 프로퍼티

public static int GJK_MAX_ITERS
리턴 int