Method | Description | |
---|---|---|
GetAngle ( Vector3 a, Vector3 b, Vector3 c ) : float |
get angle between 3 points
|
|
Xangle ( Vector3 v1, Vector3 v2 ) : float |
calculate angle between 2 point and the x-axis and return its degree value
|
|
Zangle ( Vector3 v1, Vector3 v2 ) : float |
calculate angle between 2 point and the z-axis and return its degree value
|
|
toDegree ( float rad ) : float |
public static GetAngle ( Vector3 a, Vector3 b, Vector3 c ) : float | ||
a | Vector3 | |
b | Vector3 | |
c | Vector3 | |
return | float |
public static Xangle ( Vector3 v1, Vector3 v2 ) : float | ||
v1 | Vector3 | |
v2 | Vector3 | |
return | float |
public static Zangle ( Vector3 v1, Vector3 v2 ) : float | ||
v1 | Vector3 | |
v2 | Vector3 | |
return | float |