diff options
| author | Pepper <pepper@scannerjammer.com> | 2016-08-23 16:04:52 -0400 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2016-08-23 16:04:52 -0400 |
| commit | 944e5c21adecd2b57af76d76854f4acfabf74402 (patch) | |
| tree | 9fa548e95b99e5224ceb49f51b69258ec5bf5b31 /share/frontend/imlandscape/js | |
| parent | c42f2684cad8d29b20540076349cc2fcec1573c9 (diff) | |
multithreaded now
Diffstat (limited to 'share/frontend/imlandscape/js')
| -rw-r--r-- | share/frontend/imlandscape/js/3D_Landscape.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/frontend/imlandscape/js/3D_Landscape.js b/share/frontend/imlandscape/js/3D_Landscape.js index 411bfe7..7431bcd 100644 --- a/share/frontend/imlandscape/js/3D_Landscape.js +++ b/share/frontend/imlandscape/js/3D_Landscape.js @@ -31,7 +31,8 @@ function initGraphics(textureFile, heightmapFile, cb) { //Get heightmap data
//Generates the heightmap data from the heightmap image
- var size = worldWidth * worldDepth, data = new Float32Array(size);
+ var size = worldWidth * worldDepth
+ var data = new Float32Array(size);
var canvas = document.createElement('canvas');
canvas.width = worldWidth;
|
