OSDN Git Service

javadoc
authorbrentowens <brentowens@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Thu, 25 Aug 2011 00:19:18 +0000 (00:19 +0000)
committerbrentowens <brentowens@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Thu, 25 Aug 2011 00:19:18 +0000 (00:19 +0000)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

engine/src/terrain/com/jme3/terrain/heightmap/AbstractHeightMap.java

index 6de1c22..3193f52 100644 (file)
@@ -428,7 +428,9 @@ public abstract class AbstractHeightMap implements HeightMap {
      * Smooth the terrain. For each node, its 8 neighbors heights\r
      * are averaged and will participate in the  node new height\r
      * by a factor <code>np</code> between 0 and 1\r
-     *\r
+     * \r
+     * You must first load() the heightmap data before this will have any effect.\r
+     * \r
      * @param np\r
      *          The factor to what extend the neighbors average has an influence.\r
      *          Value of 0 will ignore neighbors (no smoothing)\r
@@ -443,6 +445,8 @@ public abstract class AbstractHeightMap implements HeightMap {
      * are averaged and will participate in the  node new height\r
      * by a factor <code>np</code> between 0 and 1\r
      *\r
+     * You must first load() the heightmap data before this will have any effect.\r
+     * \r
      * @param np\r
      *          The factor to what extend the neighbors average has an influence.\r
      *          Value of 0 will ignore neighbors (no smoothing)\r