TerrainQuad documentation patch thanks @slyh
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9326 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
eac143830f
commit
5dbde4ad06
@ -65,16 +65,16 @@ import java.util.logging.Level;
|
|||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* <p>
|
||||||
* A terrain quad is a node in the quad tree of the terrain system.
|
* A terrain quad is a node in the quad tree of the terrain system.
|
||||||
* The root terrain quad will be the only one that receives the update() call every frame
|
* The root terrain quad will be the only one that receives the update() call every frame
|
||||||
* and it will determine if there has been any LOD change.
|
* and it will determine if there has been any LOD change.
|
||||||
*
|
* </p><p>
|
||||||
* The leaves of the terrain quad tree are Terrain Patches. These have the real geometry mesh.
|
* The leaves of the terrain quad tree are Terrain Patches. These have the real geometry mesh.
|
||||||
*
|
* </p><p>
|
||||||
*
|
|
||||||
* Heightmap coordinates start from the bottom left of the world and work towards the
|
* Heightmap coordinates start from the bottom left of the world and work towards the
|
||||||
* top right.
|
* top right.
|
||||||
*
|
* </p><pre>
|
||||||
* +x
|
* +x
|
||||||
* ^
|
* ^
|
||||||
* | ......N = length of heightmap
|
* | ......N = length of heightmap
|
||||||
@ -83,11 +83,10 @@ import java.util.logging.Logger;
|
|||||||
* | 0.....:
|
* | 0.....:
|
||||||
* +---------> +z
|
* +---------> +z
|
||||||
* (world coordinates)
|
* (world coordinates)
|
||||||
*
|
* </pre>
|
||||||
* @author Brent Owens
|
* @author Brent Owens
|
||||||
*/
|
*/
|
||||||
public class TerrainQuad extends Node implements Terrain {
|
public class TerrainQuad extends Node implements Terrain {
|
||||||
|
|
||||||
protected Vector2f offset;
|
protected Vector2f offset;
|
||||||
|
|
||||||
protected int totalSize; // the size of this entire terrain tree (on one side)
|
protected int totalSize; // the size of this entire terrain tree (on one side)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user