PolarProjectionBJ
- Parameters
source locationdist realangle real- comment
- patch
1.00
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
location- Source code
function PolarProjectionBJ takes location source, real dist, real angle returns location local real x = GetLocationX(source) + dist * Cos(angle * bj_DEGTORAD) local real y = GetLocationY(source) + dist * Sin(angle * bj_DEGTORAD) return Location(x, y) endfunction