Метод | Описание | |
---|---|---|
GetFirstWallPoint ( System.Vector2 from, System.Vector2 to, float step = 25 ) : Vector2? | ||
GetFirstWallPoint ( System.Vector3 from, System.Vector3 to, float step = 25 ) : Vector2? | ||
IsLyingInCone ( System.Vector2 position, System.Vector2 apexPoint, System.Vector2 circleCenter, double aperture ) : bool |
Метод | Описание | |
---|---|---|
DotProd ( System.Vector2 a, System.Vector2 b ) : float | ||
Magn ( System.Vector2 a ) : float |
public static GetFirstWallPoint ( System.Vector2 from, System.Vector2 to, float step = 25 ) : Vector2? | ||
from | System.Vector2 | |
to | System.Vector2 | |
step | float | |
Результат | Vector2? |
public static GetFirstWallPoint ( System.Vector3 from, System.Vector3 to, float step = 25 ) : Vector2? | ||
from | System.Vector3 | |
to | System.Vector3 | |
step | float | |
Результат | Vector2? |
public static IsLyingInCone ( System.Vector2 position, System.Vector2 apexPoint, System.Vector2 circleCenter, double aperture ) : bool | ||
position | System.Vector2 | |
apexPoint | System.Vector2 | |
circleCenter | System.Vector2 | |
aperture | double | |
Результат | bool |