added recalculateAllNormals() to TerrainQuad

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
bre..ns 13 years ago
parent 122b4a9818
commit e769d453ec
  1. 8
      engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java

@ -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
*/

Loading…
Cancel
Save