added recalculateAllNormals() to TerrainQuad

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
bre..ns 2012-03-07 15:48:44 +00:00
parent 122b4a9818
commit e769d453ec

View File

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