C# Class NidaleeTheBestialHuntress.VectorHelper

Show file Open project: blacky/LeagueSharp Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
DotProd ( System.Vector2 a, System.Vector2 b ) : float
Magn ( System.Vector2 a ) : float

Method Details

GetFirstWallPoint() public static method

public static GetFirstWallPoint ( System.Vector2 from, System.Vector2 to, float step = 25 ) : Vector2?
from System.Vector2
to System.Vector2
step float
return Vector2?

GetFirstWallPoint() public static method

public static GetFirstWallPoint ( System.Vector3 from, System.Vector3 to, float step = 25 ) : Vector2?
from System.Vector3
to System.Vector3
step float
return Vector2?

IsLyingInCone() public static method

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
return bool