diff options
Diffstat (limited to 'share/frontend/imlandscape/js/3D_Landscape.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;
|
