From 6286ac495f6d94a6a9710e6e76a386cb2b188325 Mon Sep 17 00:00:00 2001 From: "sky..ok" Date: Thu, 3 Nov 2011 02:56:39 +0000 Subject: [PATCH] Added Javadoc to TerrainQuad constructors git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8574 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../jme3/terrain/geomipmap/TerrainQuad.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java index cc8755d37..b83c55118 100644 --- a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java +++ b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java @@ -141,14 +141,37 @@ public class TerrainQuad extends Node implements Terrain { super("Terrain"); } + /** + * + * @param name + * @param patchSize size of the individual patches + * @param totalSize the size of this entire terrain tree (on one side) + * @param heightMap + */ public TerrainQuad(String name, int patchSize, int totalSize, float[] heightMap) { this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap); } + /** + * + * @param name + * @param patchSize size of the individual patches + * @param quadSize + * @param totalSize the size of this entire terrain tree (on one side) + * @param heightMap + */ public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) { this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap); } + /** + * + * @param name + * @param patchSize size of the individual patches + * @param size size of this quad, can be between totalSize and patchSize + * @param scale + * @param heightMap + */ public TerrainQuad(String name, int patchSize, int size, Vector3f scale, float[] heightMap) { this(name, patchSize, size, scale, heightMap, size, new Vector2f(), 0); affectedAreaBBox = new BoundingBox(new Vector3f(0,0,0), size*2, Float.MAX_VALUE, size*2); @@ -156,6 +179,15 @@ public class TerrainQuad extends Node implements Terrain { addControl(new NormalRecalcControl(this)); } + /** + * + * @param name + * @param patchSize size of the individual patches + * @param totalSize the size of this entire terrain tree (on one side) + * @param quadSize + * @param scale + * @param heightMap + */ public TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[] heightMap) { this(name, patchSize, quadSize, scale, heightMap, totalSize, new Vector2f(), 0); affectedAreaBBox = new BoundingBox(new Vector3f(0,0,0), totalSize*2, Float.MAX_VALUE, totalSize*2);