C# 클래스 FSO.Client.Utils.MathUtils

파일 보기 프로젝트 열기: RHY3756547/FreeSO

공개 메소드들

메소드 설명
DegreeToRadian ( double angle ) : double
GetCenter ( Rectangle bounds ) : Vector2
RadianToDegree ( double angle ) : double
RotateVector2 ( Vector2 point, float radians, Vector2 pivot ) : Vector2

메소드 상세

DegreeToRadian() 공개 정적인 메소드

public static DegreeToRadian ( double angle ) : double
angle double
리턴 double

GetCenter() 공개 정적인 메소드

public static GetCenter ( Rectangle bounds ) : Vector2
bounds Microsoft.Xna.Framework.Rectangle
리턴 Vector2

RadianToDegree() 공개 정적인 메소드

public static RadianToDegree ( double angle ) : double
angle double
리턴 double

RotateVector2() 공개 정적인 메소드

public static RotateVector2 ( Vector2 point, float radians, Vector2 pivot ) : Vector2
point Vector2
radians float
pivot Vector2
리턴 Vector2