* Fix syntax error in TerrainLodControl

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7288 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
sha..rd 14 years ago
parent 8aa7468370
commit d96912e900
  1. 6
      engine/src/terrain/com/jme3/terrain/geomipmap/TerrainLodControl.java

@ -66,9 +66,7 @@ public class TerrainLodControl extends AbstractControl {
private List<Camera> cameras;
private List<Vector3f> cameraLocations = new ArrayList<Vector3f>();
public TerrainLodControl() {
}
/**
@ -77,9 +75,9 @@ public class TerrainLodControl extends AbstractControl {
* @param cameras one or more cameras to reference for LOD calc
*/
public TerrainLodControl(Terrain terrain, List<Camera> cameras) {
super((Spatial)terrain);
if (terrain instanceof TerrainQuad)
if (terrain instanceof TerrainQuad) {
this.terrain = (TerrainQuad) terrain;
}
this.cameras = cameras;
}

Loading…
Cancel
Save