C# 클래스 FootballSimulation.CollisionMath

파일 보기 프로젝트 열기: PurdueSIGAI/Soccer

공개 메소드들

메소드 설명
GetCircleRectangleCollisionNormal ( System.Numerics.Vector2 center, float radius, RectangleF rectangle ) : Vector2?

Determines if a circle and rectangle intersect.

메소드 상세

GetCircleRectangleCollisionNormal() 공개 정적인 메소드

Determines if a circle and rectangle intersect.
public static GetCircleRectangleCollisionNormal ( System.Numerics.Vector2 center, float radius, RectangleF rectangle ) : Vector2?
center System.Numerics.Vector2 The center of the circle.
radius float The radius of the circle.
rectangle System.Drawing.RectangleF The rectangle.
리턴 Vector2?