From b66984f8f52ec3efac1c7b539df15c696359e320 Mon Sep 17 00:00:00 2001 From: "sky..om" Date: Tue, 3 Jan 2012 04:42:54 +0000 Subject: [PATCH] Added javadoc for TerrainQuad heightMap parameters git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../jme3/terrain/geomipmap/TerrainQuad.java | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java index ea7a41e9c..4471cafc9 100644 --- a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java +++ b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainQuad.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -138,10 +138,12 @@ public class TerrainQuad extends Node implements Terrain { /** * - * @param name + * @param name the name of the scene element. This is required for + * identification and comparison purposes. * @param patchSize size of the individual patches * @param totalSize the size of this entire terrain tree (on one side) - * @param heightMap + * @param heightMap The height map to generate the terrain from (a flat + * height map will be generated if this is null) */ public TerrainQuad(String name, int patchSize, int totalSize, float[] heightMap) { this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap); @@ -149,11 +151,13 @@ public class TerrainQuad extends Node implements Terrain { /** * - * @param name + * @param name the name of the scene element. This is required for + * identification and comparison purposes. * @param patchSize size of the individual patches * @param quadSize * @param totalSize the size of this entire terrain tree (on one side) - * @param heightMap + * @param heightMap The height map to generate the terrain from (a flat + * height map will be generated if this is null) */ public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) { this(name, patchSize, totalSize, quadSize, Vector3f.UNIT_XYZ, heightMap); @@ -161,11 +165,13 @@ public class TerrainQuad extends Node implements Terrain { /** * - * @param name + * @param name the name of the scene element. This is required for + * identification and comparison purposes. * @param patchSize size of the individual patches * @param size size of this quad, can be between totalSize and patchSize * @param scale - * @param heightMap + * @param heightMap The height map to generate the terrain from (a flat + * height map will be generated if this is null) */ public TerrainQuad(String name, int patchSize, int size, Vector3f scale, float[] heightMap) { this(name, patchSize, size, scale, heightMap, size, new Vector2f(), 0); @@ -176,12 +182,14 @@ public class TerrainQuad extends Node implements Terrain { /** * - * @param name + * @param name the name of the scene element. This is required for + * identification and comparison purposes. * @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 + * @param heightMap The height map to generate the terrain from (a flat + * height map will be generated if this is null) */ public TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[] heightMap) { this(name, patchSize, quadSize, scale, heightMap, totalSize, new Vector2f(), 0);