Преглед на файлове

terrain javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8703 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
bre..ns преди 14 години
родител
ревизия
de5591053d

+ 1 - 1
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 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;

+ 4 - 0
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
  * 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 {