added recalculateAllNormals() to TerrainQuad
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
122b4a9818
commit
e769d453ec
@ -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…
x
Reference in New Issue
Block a user