|
@@ -166,8 +166,6 @@ public class TerrainTestReadWrite extends SimpleApplication {
|
|
TerrainLodControl control = new TerrainLodControl(terrain, cameras);
|
|
TerrainLodControl control = new TerrainLodControl(terrain, cameras);
|
|
terrain.addControl(control);
|
|
terrain.addControl(control);
|
|
terrain.setMaterial(matTerrain);
|
|
terrain.setMaterial(matTerrain);
|
|
- terrain.setModelBound(new BoundingBox());
|
|
|
|
- terrain.updateModelBound();
|
|
|
|
terrain.setLocalTranslation(0, -100, 0);
|
|
terrain.setLocalTranslation(0, -100, 0);
|
|
terrain.setLocalScale(2f, 1f, 2f);
|
|
terrain.setLocalScale(2f, 1f, 2f);
|
|
rootNode.attachChild(terrain);
|
|
rootNode.attachChild(terrain);
|