|
@@ -79,7 +79,7 @@
|
|
|
|
|
|
data = generateHeight( worldWidth, worldDepth );
|
|
|
|
|
|
- camera.position.y = data[ worldHalfWidth + worldHalfDepth * worldWidth ] + 500;
|
|
|
+ camera.position.y = data[ worldHalfWidth + worldHalfDepth * worldWidth ] * 10 + 500;
|
|
|
|
|
|
var geometry = new THREE.PlaneGeometry( 7500, 7500, worldWidth - 1, worldDepth - 1 );
|
|
|
geometry.applyMatrix( new THREE.Matrix4().makeRotationX( - Math.PI / 2 ) );
|