메소드 | 설명 | |
---|---|---|
Distance ( |
Calculate Distance from this Vector2 to another Vector2
|
|
Distance ( |
Calculate Distance between 2 Vector2
|
|
Normalize ( |
Calculate Unit Vector from this Vector2 to Second Vector2(A Vector2 with magnitude of 1).
|
|
Normalize ( |
Calculate Unit Vector based on the 2 Vector2(A Vector2 with magnitude of 1).
|
|
Vector2 ( float x, float y ) : System | ||
operator ( ) : |
public static Distance ( |
||
a | First Vector2 | |
b | Second Vector2 | |
리턴 | float |
public static Normalize ( |
||
a | First Vector2 | |
b | Second Vector2 | |
리턴 |