From de5591053d2882a81d0fa5a0a39b84b3d8af2658 Mon Sep 17 00:00:00 2001 From: "bre..ns" Date: Wed, 16 Nov 2011 16:30:36 +0000 Subject: [PATCH] terrain javadoc git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8703 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java | 2 +- .../terrain/com/jme3/terrain/geomipmap/TerrainLodControl.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java index 31137cc6b..7cceda290 100644 --- a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java +++ b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java @@ -103,7 +103,7 @@ public class TerrainGrid extends TerrainQuad { protected static final Logger log = Logger.getLogger(TerrainGrid.class.getCanonicalName()); protected Vector3f currentCamCell; - protected int quarterSize; + protected int quarterSize; // half of quadSize protected int quadSize; protected HeightMapGrid heightMapGrid; private TerrainGridTileLoader gridTileLoader; diff --git a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainLodControl.java b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainLodControl.java index 23bb458dc..ac4d01a08 100644 --- a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainLodControl.java +++ b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainLodControl.java @@ -60,6 +60,10 @@ import java.util.ArrayList; * in the future it will use all of them to determine what * 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 */ public class TerrainLodControl extends AbstractControl {