Add translateHeightmap function which allows repositioning of an imported heightmap...
commit3c82678f22c1b1ae7dac2c971c6b8269be973fcd
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Thu, 1 Mar 2018 14:39:17 +0000 (1 14:39 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Thu, 1 Mar 2018 14:39:17 +0000 (1 14:39 +0000)
tree1bc7310c7f2694375ce9228663f93c7a507662a8
parent4c9caae24c809a9438ff864c7a85fc3df829532e
Add translateHeightmap function which allows repositioning of an imported heightmap before copying it to the map, refs #3764, #5018, #4816.

Inline some variables and return the heightmap in the heightmap library functions, so that one can apply multiple transformations within the same statement.

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@21403 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/maps/random/heightmap/heightmap.js