Add rotateAround Vector2D function.
commit273388c60cd82de0b24615326f14b70c50e2515e
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Fri, 17 Nov 2017 00:10:29 +0000 (17 00:10 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Fri, 17 Nov 2017 00:10:29 +0000 (17 00:10 +0000)
tree491700b8f4ea65a1ed66af98149f181f2b2cd2ad
parent17c747434ff451d0f6f578c060a1541260456173
Add rotateAround Vector2D function.
Remove the rmgen rotateCoordinates helper function from rP20295 and clean the implementation of that commit, refs #4845, #4804.
Deepfreeze mapCenter vector from rP20463 used here to prevent accidental overwrites with the mutating Vector2D functions, refs #4854.

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@20468 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/globalscripts/vector.js
binaries/data/mods/public/maps/random/corinthian_isthmus.js
binaries/data/mods/public/maps/random/rmgen/library.js
binaries/data/mods/public/maps/random/rmgen/math.js
binaries/data/mods/public/simulation/components/tests/test_Vector.js