git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -238,7 +238,13 @@ public class TerrainQuad extends Node implements Terrain {
}
}*/
-
+ /**
+ * Forces the recalculation of all normals on the terrain.
+ */
+ public void recalculateAllNormals() {
+ affectedAreaBBox = new BoundingBox(new Vector3f(0,0,0), totalSize*2, Float.MAX_VALUE, totalSize*2);
+ }
+
/**
* Create just a flat heightmap
*/