C# 클래스 MilkShakeFramework.Tools.Utils.MathUtils

파일 보기 프로젝트 열기: lucas-jones/MilkShake-old

공개 메소드들

메소드 설명
AngleBetweenTwoVectors ( Vector2 a, Vector2 b ) : float
AngleToVector2 ( float angle, float length ) : Vector2
NextVector2 ( Vector2 min, Vector2 max ) : Vector2
SmoothStep ( Vector2 value1, Vector2 value2, float amount ) : Vector2
Vector2ToAngle ( Vector2 direction ) : float

메소드 상세

AngleBetweenTwoVectors() 공개 정적인 메소드

public static AngleBetweenTwoVectors ( Vector2 a, Vector2 b ) : float
a Vector2
b Vector2
리턴 float

AngleToVector2() 공개 정적인 메소드

public static AngleToVector2 ( float angle, float length ) : Vector2
angle float
length float
리턴 Vector2

NextVector2() 공개 정적인 메소드

public static NextVector2 ( Vector2 min, Vector2 max ) : Vector2
min Vector2
max Vector2
리턴 Vector2

SmoothStep() 공개 정적인 메소드

public static SmoothStep ( Vector2 value1, Vector2 value2, float amount ) : Vector2
value1 Vector2
value2 Vector2
amount float
리턴 Vector2

Vector2ToAngle() 공개 정적인 메소드

public static Vector2ToAngle ( Vector2 direction ) : float
direction Vector2
리턴 float