Aka_s_Vayne.Logic.Mechanics.GetRotatedFlashPositions C# (CSharp) Method

GetRotatedFlashPositions() public static method

public static GetRotatedFlashPositions ( ) : List
return List
        public static List<Vector3> GetRotatedFlashPositions()
        {
            const int currentStep = 30;
            var direction = Variables._Player.Direction.To2D().Perpendicular();

            var list = new List<Vector3>();
            for (var i = -90; i <= 90; i += currentStep)
            {
                var angleRad = Geometry.DegreeToRadian(i);
                var rotatedPosition = Variables._Player.Position.To2D() + (425f * direction.Rotated(angleRad));
                list.Add(rotatedPosition.To3D());
            }
            return list;
        }