From 044e797da1ea98b431cc6a45533fef9984384142 Mon Sep 17 00:00:00 2001 From: "bre..ns" Date: Thu, 25 Aug 2011 00:19:18 +0000 Subject: [PATCH] javadoc git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/terrain/heightmap/AbstractHeightMap.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/src/terrain/com/jme3/terrain/heightmap/AbstractHeightMap.java b/engine/src/terrain/com/jme3/terrain/heightmap/AbstractHeightMap.java index 6de1c2248..3193f5291 100644 --- a/engine/src/terrain/com/jme3/terrain/heightmap/AbstractHeightMap.java +++ b/engine/src/terrain/com/jme3/terrain/heightmap/AbstractHeightMap.java @@ -428,7 +428,9 @@ public abstract class AbstractHeightMap implements HeightMap { * Smooth the terrain. For each node, its 8 neighbors heights * are averaged and will participate in the node new height * by a factor np between 0 and 1 - * + * + * You must first load() the heightmap data before this will have any effect. + * * @param np * The factor to what extend the neighbors average has an influence. * Value of 0 will ignore neighbors (no smoothing) @@ -443,6 +445,8 @@ public abstract class AbstractHeightMap implements HeightMap { * are averaged and will participate in the node new height * by a factor np between 0 and 1 * + * You must first load() the heightmap data before this will have any effect. + * * @param np * The factor to what extend the neighbors average has an influence. * Value of 0 will ignore neighbors (no smoothing)