terrain javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8703 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
bre..ns 13 years ago
parent 344c0f11c9
commit de5591053d
  1. 2
      engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java
  2. 4
      engine/src/terrain/com/jme3/terrain/geomipmap/TerrainLodControl.java

@ -103,7 +103,7 @@ public class TerrainGrid extends TerrainQuad {
protected static final Logger log = Logger.getLogger(TerrainGrid.class.getCanonicalName()); protected static final Logger log = Logger.getLogger(TerrainGrid.class.getCanonicalName());
protected Vector3f currentCamCell; protected Vector3f currentCamCell;
protected int quarterSize; protected int quarterSize; // half of quadSize
protected int quadSize; protected int quadSize;
protected HeightMapGrid heightMapGrid; protected HeightMapGrid heightMapGrid;
private TerrainGridTileLoader gridTileLoader; private TerrainGridTileLoader gridTileLoader;

@ -60,6 +60,10 @@ import java.util.ArrayList;
* in the future it will use all of them to determine what * in the future it will use all of them to determine what
* LOD to set. * LOD to set.
* *
* This control serializes, but it does not save the Camera reference.
* This camera reference has to be manually added in when you load the
* terrain to the scene!
*
* @author Brent Owens * @author Brent Owens
*/ */
public class TerrainLodControl extends AbstractControl { public class TerrainLodControl extends AbstractControl {

Loading…
Cancel
Save