C# 클래스 VectorMath.Vector2

파일 보기 프로젝트 열기: zlynn1990/SpaceSim

공개 메소드들

메소드 설명
Cross ( Vector2 v ) : float
Distance ( Vector2 other ) : float
Dot ( Vector2 other ) : float
Length ( ) : float
LengthSquared ( ) : float
Lerp ( Vector2 from, Vector2 to, float t ) : Vector2
Mirror ( ) : void
ToString ( ) : string
Vector2 ( ) : System
Vector2 ( float x, float y ) : System
operator ( ) : Vector2

메소드 상세

Cross() 공개 메소드

public Cross ( Vector2 v ) : float
v Vector2
리턴 float

Distance() 공개 메소드

public Distance ( Vector2 other ) : float
other Vector2
리턴 float

Dot() 공개 메소드

public Dot ( Vector2 other ) : float
other Vector2
리턴 float

Length() 공개 메소드

public Length ( ) : float
리턴 float

LengthSquared() 공개 메소드

public LengthSquared ( ) : float
리턴 float

Lerp() 공개 정적인 메소드

public static Lerp ( Vector2 from, Vector2 to, float t ) : Vector2
from Vector2
to Vector2
t float
리턴 Vector2

Mirror() 공개 메소드

public Mirror ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Vector2() 공개 메소드

public Vector2 ( ) : System
리턴 System

Vector2() 공개 메소드

public Vector2 ( float x, float y ) : System
x float
y float
리턴 System

operator() 공개 정적인 메소드

public static operator ( ) : Vector2
리턴 Vector2